Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 438336

Summary: [Contributions] No Navigator context menus on property tester exceptions
Product: [Eclipse Project] Platform Reporter: Christian Pontesegger <christian.pontesegger>
Component: DebugAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: stefan.eder
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Christian Pontesegger CLA 2014-06-27 03:16:57 EDT
When a badly written Property tester for contextualLauch throws an exception, the whole Run As..., Debug As... submenu is not opened.

See Bug 438335 for a stacktrace
Comment 1 Christian Pontesegger CLA 2014-08-18 03:50:40 EDT
The same root cause is also responsible for following stacktrace, which happens when hovering over the run button in the main toolbar:

java.lang.NullPointerException
        at org.eclipse.ease.ui.propertytester.EngineTester.test(EngineTester.java:40)
        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.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:281)
        at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getShortcutsForSelection(LaunchingResourceManager.java:455)
        at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:240)
        at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$1$1.run(LaunchingResourceManager.java:142)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 2 Noopur Gupta CLA 2014-09-12 05:39:27 EDT
*** Bug 443920 has been marked as a duplicate of this bug. ***
Comment 3 Lars Vogel CLA 2019-11-27 07:34:25 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.