An internal error occurred during: "Compute launch button tooltip".

Hello,

We are experiencing quite an annoying issue with the GNU Toolchain for Blackfin Eclipse plugins. We're running a customized version of the TLL 0.5.3 Fedora 17 image (for Northeastern University), with Blackfin GNU Toolchain Integration v. 1.0.5.201205011311. Please provide a fix/solution!

Steps to reproduce

  1. Launch Eclipse
  2. In C/C++ Perspective, click anywhere on 'Project Explorer'
  3. However mouse over one of the run/debug icons

Result

An error dialog showing a problem occured appears. This is extremely annoying and can happen several times a minute with normal Eclipse usage.

Screenshot

Stack trace

The stack trace can be obtained from the Eclipse error log (Help->About Eclipse Platform->Installation Details->Configuration->View Error Log), as it is not shown in the error dialog:

java.lang.NullPointerException

          at com.analog.gnu.toolchain.blackfin.launcher.LaunchPropertyTester.isProjectType(LaunchPropertyTester.java:151)

          at com.analog.gnu.toolchain.blackfin.launcher.LaunchPropertyTester.isExecutable(LaunchPropertyTester.java:111)

          at com.analog.gnu.toolchain.blackfin.launcher.LaunchPropertyTester.test(LaunchPropertyTester.java:52)

          at org.eclipse.core.internal.expressions.Property.test(Property.java:58)

          at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(CompositeExpression.java:68)

          at org.eclipse.core.internal.expressions.OrExpression.evaluate(OrExpression.java:21)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)

          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getShortcutsForSelection(LaunchingResourceManager.java:456)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:236)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.core.jobs 4 2 2013-01-29 14:01:37.344

!MESSAGE An internal error occurred during: "Compute launch button tooltip".

!STACK 0

java.lang.NullPointerException

          at com.analog.gnu.toolchain.blackfin.launcher.LaunchPropertyTester.isProjectType(LaunchPropertyTester.java:151)

          at com.analog.gnu.toolchain.blackfin.launcher.LaunchPropertyTester.test(LaunchPropertyTester.java:67)

          at org.eclipse.core.internal.expressions.Property.test(Property.java:58)

          at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(CompositeExpression.java:68)

          at org.eclipse.core.internal.expressions.OrExpression.evaluate(OrExpression.java:21)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)

          at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)

          at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)

          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getShortcutsForSelection(LaunchingResourceManager.java:456)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.pruneShortcuts(LaunchingResourceManager.java:391)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getLabel(LaunchingResourceManager.java:314)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getLabel(LaunchingResourceManager.java:346)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:240)

          at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

  • I have this bug in CCES 2.8.0.

     

    It is occuring when cursor have had previously set in editor window, then moved over launch debug button. Second moving over the button not cause the error.  

    OS WIndows 7 Pro.

  • 0
    •  Analog Employees 
    on Aug 16, 2018 7:19 AM

    Hi

    Apologies for the inconvenience caused.

    Can you tell us a little more about the project that you're using with CCES 2.8.0.

    This issue was originally with the GNU Toolchain for Blackfin Eclipse plugins for standard Eclipse C/C++.

    If you're using a CrossCore Blackfin project with CCES 2.8.0, then you shouldn't be receiving this Null Pointer Exception. Perhaps you could contact us through processor.tools.support@analog.com and send us an example project/workspace (.metadata folder) so that we can investigate further.

    We'd very much also be interested in seeing the call stack which you can get by visiting Windows | Show View | Error Log and clicking on the exception message.