Community
Participate
Working Groups
Bugzilla – Bug 278593
[cocoa] NPE at ToolTipHelper
Last modified: 2011-05-17 21:53:07 EDT
Build ID: I20090515-1143 Steps To Reproduce: 1. Open UML activity diagram with UML2 Tools 2. Move mouse from workbench window to Dock on the bottom of the screen eclipse.buildId=I20090515-1143 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.rcp.product -keyring /Users/xxx/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.rcp.product -keyring /Users/xxx/.eclipse_keyring -showlocation More information: java.lang.NullPointerException at org.eclipse.draw2d.ToolTipHelper$3.mouseEnter(ToolTipHelper.java:133) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:187) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3539) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1246) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1269) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1254) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1075) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3437) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3096) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Created attachment 138520 [details] Patch for draw2d's ToolTipHelper.java
Created attachment 138521 [details] mylyn/context/zip
The fix works for me.
I also found this bug with my own application using a GMF-based editor. eclipse.buildId=I20090528-2000 java.version=1.6.0_07 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en
We're seeing this same issue under OS X with: eclipse.buildId=I20090611-1540 macosx -ws cocoa -arch x86 macosx java.vendor=Apple Inc. java.version=1.5.0_16 The problem was not present in Eclipse 3.4.2 but in 3.5 it causes some features to fail.
*** Bug 283168 has been marked as a duplicate of this bug. ***
I can reliably reproduce this problem as well. Bug fix works for me too. Can someone please make the necessary commits to get this into the 3.6 stream, as well as the 3.5SR2, if there will be one? Thanks.
Seconding Simon's request.
*** Bug 292443 has been marked as a duplicate of this bug. ***
The fix committed to R3_5_maintenance and HEAD (3.5.2 and 3.6.0)