Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334963 - [Decorators] NPE during "Decoration Calculation"
Summary: [Decorators] NPE during "Decoration Calculation"
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 19:07 EST by Pawel Piech CLA
Modified: 2016-11-28 13:35 EST (History)
1 user (show)

See Also:


Attachments
test program (1.50 KB, text/plain)
2011-01-20 19:07 EST, Pawel Piech CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.