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

Bug 334963

Summary: [Decorators] NPE during "Decoration Calculation"
Product: [Eclipse Project] Platform Reporter: Pawel Piech <pawel.1.piech>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
test program none

Description Pawel Piech CLA 2011-01-20 19:07:23 EST
Created attachment 187253 [details]
test program

Version: 3.6.2
Build id: M20110119-0834


I got the following exception while going through the http://wiki.eclipse.org/Debug/Test_Script#Stress_Tests manual test and using the TestManyThread.java test program (attached).  I saw the exception only once though and I wasn't able to reproduce it.

java.lang.NullPointerException
at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
at org.eclipse.ui.internal.decorators.DecoratorDefinition.isEnabledFor(DecoratorDefinition.java:282)
at org.eclipse.ui.internal.decorators.DecoratorManager.getDecoratorsFor(DecoratorManager.java:382)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecoratorsFor(LightweightDecoratorManager.java:315)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:340)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Lars Vogel CLA 2016-11-28 13:35:48 EST
I also cannot reproduce this error.