Git Product home page Git Product logo

Comments (5)

mduft avatar mduft commented on July 29, 2024 1

If I paste this exact launch configuration in my test workspace, the launch immediately appears in the Launch Configurations View. So I assume that it may have something to do with another plugin installed in your IDE... not really sure which one though.

Edit: Nevertheless I can still guard against the NPE in this case. The launch configuration will silently not be shown in this case as we cannot determine its parent for some reason..

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Could you come up with a small demo of the problem? If I simply put 2 Java launch configs in a project, open one of them and change it to launchConfiguration type='XXX' nothing bad happens, also if I close and re-open the view, or even restart eclipse...

from lcdsl.

Bananeweizen avatar Bananeweizen commented on July 29, 2024

I was able to reduce it to a single file only. And you are right, setting arbitrary values does NOT cause the exception. But this file causes the exception:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.epic.perleditor.perlbuilder"/>
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
</launchConfiguration>

It is stored as someproject/.externalToolBuilders/org.epic.perleditor.perlbuilder.launch, and I'm not even sure what externalToolBuilders means there. It's not listed in the Builders tab of the project properties, so I'm slightly confused myself. Since this seems to be related to running a Perl builder from the Epic plugin, I can probably also get rid of it completely, as long as there is no fix available.

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Strange - I will paste this here and perform some tests :)

from lcdsl.

Bananeweizen avatar Bananeweizen commented on July 29, 2024

This seems to have been fixed at some point. At least I can see the null check at the same line in the code that lives at eclipse now.

from lcdsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.