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

Bug 57658

Summary: [Presentations] NPE on mouse event handler
Product: [Eclipse Project] Platform Reporter: Rafael Chaves <eclipse>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rafael Chaves CLA 2004-04-06 16:45:39 EDT
i20040406

Thought it could be a duplicate of bug 56816, but since the stack traces look
quite different (what they have in common is the fact that the NPEs happened in
event handlers).

Sorry, no test case.

!ENTRY org.eclipse.ui 4 0 Apr 06, 2004 15:34:06.130
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.ui.internal.presentations.BasicStackPresentation$10.handleEvent(BasicStackPresentation.java:254)
	at
org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:79)
	at org.eclipse.ui.presentations.PresentationUtil.access$1(PresentationUtil.java:74)
	at
org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:50)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2587)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2265)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1561)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:140)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:279)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:241)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
	at org.eclipse.core.launcher.Main.run(Main.java:692)
	at org.eclipse.core.launcher.Main.main(Main.java:676)
Comment 1 Stefan Xenos CLA 2004-04-14 18:27:35 EDT

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