[jbosstools-issues] [JBoss JIRA] (JBIDE-10938) tooltips fail in wizard examples

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Mar 22 15:40:47 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-10938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678781#comment-12678781 ] 

Snjezana Peco commented on JBIDE-10938:
---------------------------------------

The new error log differs from the previous (includes org.jboss.tools.central class).
I have reviewed the source for Mac. The exception is thrown because the display field of the tooltip control is null. This can happen only when the widget is disposed.
In this case, the control is a tutorial link which certainly is not disposed since the JBoss Central editor isn't closed.
Since I can't reproduce the issue on Windows and Linux, it is likely that there is a bug in the SWT implementation for Mac.
I have added more stringent checks to the fix.

Max,

Could you try to reproduce the issue using the trunk?
Could you also check if there is any error log even if you haven't reproduced the issue?

                
> tooltips fail in wizard examples
> --------------------------------
>
>                 Key: JBIDE-10938
>                 URL: https://issues.jboss.org/browse/JBIDE-10938
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>            Priority: Blocker
>             Fix For: 3.3.0.Beta1-SOA
>
>
> http://screencast.com/t/ggT7HZrV
> org.eclipse.swt.SWTException: Widget is disposed
> 	at org.eclipse.swt.SWT.error(SWT.java:4282)
> 	at org.eclipse.swt.SWT.error(SWT.java:4197)
> 	at org.eclipse.swt.SWT.error(SWT.java:4168)
> 	at org.eclipse.swt.widgets.Widget.error(Widget.java:774)
> 	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568)
> 	at org.eclipse.swt.widgets.Control.getShell(Control.java:1903)
> 	at org.eclipse.jface.window.ToolTip.toolTipHide(ToolTip.java:449)
> 	at org.eclipse.jface.window.ToolTip.access$1(ToolTip.java:447)
> 	at org.eclipse.jface.window.ToolTip$TooltipHideListener.handleEvent(ToolTip.java:676)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	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:344)
> 	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:597)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list