Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20140

Explorer: "SWTException: Widget is disposed" if I close, reopen explorer and refresh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.3.0.Beta2
    • 4.3.0.Beta2
    • openshift
    • Hide
      1. ASSERT: make sure that you have a v3 connection in the explorer
      2. EXEC: close OpenShift explorer and reopen it
      3. EXEC: pick "Refresh" in the context menu of the connection

      Result:

      In the Eclipse log you'll find the following:

      org.eclipse.swt.SWTException: Widget is disposed
      	at org.eclipse.swt.SWT.error(SWT.java:4491)
      	at org.eclipse.swt.SWT.error(SWT.java:4406)
      	at org.eclipse.swt.SWT.error(SWT.java:4377)
      	at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
      	at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:568)
      	at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider.refreshViewer(BaseExplorerContentProvider.java:183)
      	at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider.handleConnectionChanged(BaseExplorerContentProvider.java:91)
      	at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.handleConnectionChanged(OpenShiftExplorerContentProvider.java:63)
      	at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$ConnectionsRegistryListener.connectionChanged(BaseExplorerContentProvider.java:219)
      	at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireChange(ConnectionsRegistry.java:158)
      	at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireConnectionChanged(ConnectionsRegistry.java:116)
      	at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireConnectionChanged(ConnectionsRegistry.java:109)
      	at org.jboss.tools.openshift.internal.ui.handler.RefreshResourceHandler$1.doRun(RefreshResourceHandler.java:76)
      	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      Show
      ASSERT: make sure that you have a v3 connection in the explorer EXEC: close OpenShift explorer and reopen it EXEC: pick "Refresh" in the context menu of the connection Result: In the Eclipse log you'll find the following: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4491) at org.eclipse.swt.SWT.error(SWT.java:4406) at org.eclipse.swt.SWT.error(SWT.java:4377) at org.eclipse.swt.widgets.Widget.error(Widget.java:482) at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:568) at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider.refreshViewer(BaseExplorerContentProvider.java:183) at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider.handleConnectionChanged(BaseExplorerContentProvider.java:91) at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.handleConnectionChanged(OpenShiftExplorerContentProvider.java:63) at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$ConnectionsRegistryListener.connectionChanged(BaseExplorerContentProvider.java:219) at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireChange(ConnectionsRegistry.java:158) at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireConnectionChanged(ConnectionsRegistry.java:116) at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireConnectionChanged(ConnectionsRegistry.java:109) at org.jboss.tools.openshift.internal.ui.handler.RefreshResourceHandler$1.doRun(RefreshResourceHandler.java:76) at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    • Workaround Exists
    • Hide

      restart Eclipse

      Show
      restart Eclipse

    Attachments

      Activity

        People

          jcantril@redhat.com Jeffrey Cantrill
          adietish@redhat.com André Dietisheim
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: