[jbosstools-issues] [JBoss JIRA] (JBIDE-22414) Server editor: closing it before the widgets are enabled ends up in "widget disposed" error

Andre Dietisheim (JIRA) issues at jboss.org
Thu May 19 19:08:00 EDT 2016


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

Andre Dietisheim updated JBIDE-22414:
-------------------------------------
    Steps to Reproduce:   (was: # ASSERT: make sure that you have a server adapter
# EXEC: open it in the server editor
# ASSERT: the widgets in the openshift section are disabled, in the status bar (or progress view) you see a job  "Loading projects..." running
# EXEC: close the editor
# ASSERT: nothing happens so far, but you see another job running "Setting connection, deploy..."

Result:
you get an error telling you of some widget being disposed:
!widget-disposed.png!
In the Eclipse log you spot the following:
{code}
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4522)
	at org.eclipse.swt.SWT.error(SWT.java:4437)
	at org.eclipse.swt.SWT.error(SWT.java:4408)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:419)
	at org.eclipse.swt.widgets.Control.setCursor(Control.java:4393)
	at org.jboss.tools.foundation.ui.jobs.DisableAllWidgetsJob.run(DisableAllWidgetsJob.java:52)
	at org.jboss.tools.foundation.ui.jobs.DisableAllWidgetsJob.runInUIThread(DisableAllWidgetsJob.java:42)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3807)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3446)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1118)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1019)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:157)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1516)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1489)
{code})


> Server editor: closing it before the widgets are enabled ends up in "widget disposed" error
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22414
>                 URL: https://issues.jboss.org/browse/JBIDE-22414
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha1
>            Reporter: Andre Dietisheim
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>              Labels: openshift_v3, server_adapter_editor
>             Fix For: 4.4.0.Alpha2
>
>




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list