[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7506) CloudViewer: instance actions in reopened cloudviewer throws SWTException (Widget disposed)

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Nov 5 13:13:01 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-7506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim resolved JBIDE-7506.
-------------------------------------

    Resolution: Done


removing cloud instance listener if viewer is disposed

committed to TRUNK (Beta2)

> CloudViewer: instance actions in reopened cloudviewer throws SWTException (Widget disposed)
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7506
>                 URL: https://jira.jboss.org/browse/JBIDE-7506
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.Beta2
>
>
> how to reproduce:
> 1) close cloud viewer
> 2) reopen it
> 3) stop or start an instance
> Result:
> Exception in the console:
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
> 	at org.eclipse.swt.SWT.error(SWT.java:4083)
> 	at org.eclipse.swt.SWT.error(SWT.java:3998)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> 	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:369)
> 	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:619)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> Caused by: org.eclipse.swt.SWTException: Widget is disposed
> 	at org.eclipse.swt.SWT.error(SWT.java:4083)
> 	at org.eclipse.swt.SWT.error(SWT.java:3998)
> 	at org.eclipse.swt.SWT.error(SWT.java:3969)
> 	at org.eclipse.swt.widgets.Widget.error(Widget.java:466)
> 	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:403)
> 	at org.eclipse.swt.widgets.Tree.getSelection(Tree.java:1708)
> 	at org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:256)
> 	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:344)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2480)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2903)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1429)
> 	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
> 	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1512)
> 	at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548)
> 	at org.jboss.tools.deltacloud.ui.views.CVInstancesCategoryElement$1.run(CVInstancesCategoryElement.java:101)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
> 	... 23 more
> Expected Result:
> no Exception, action on instance is executed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list