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

Bug 394500

Summary: NPE in HandledContributionItem.canExecuteItem filling up log
Product: [Eclipse Project] Platform Reporter: Rafael Chaves <eclipse>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, matthias.renz, pwebster, renzmatthias, shr31223
Version: 4.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Rafael Chaves CLA 2012-11-16 15:49:45 EST
Eclipse 4.2.1 using Classic theme. Maybe related/same as bug 366834.

Eclipse log is being continuously filled with hundreds of entries similar to this:

!ENTRY org.eclipse.e4.ui.workbench.renderers.swt 4 2 2012-11-16 12:46:03.146
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.renderers.swt".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.canExecuteItem(HandledContributionItem.java:823)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$2(HandledContributionItem.java:817)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$3.run(HandledContributionItem.java:216)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.updateItemEnablement(HandledContributionItem.java:243)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$ToolItemUpdateTimer.run(HandledContributionItem.java:146)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4121)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2332)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
	at ...
Comment 1 Roberto Sanchez Herrera CLA 2012-11-22 15:08:45 EST
Looks like this is the same problem reported in bug 388516
Comment 2 Dani Megert CLA 2012-11-26 03:28:00 EST

*** This bug has been marked as a duplicate of bug 388516 ***