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

Widget disposed error when toggling EA features on/off

    XMLWordPrintable

Details

    Description

      1. Install JBT 4.2.0.Beta3 or CR1 (nightly) into Eclipse Luna eclipse-jee-luna-R-linux.gtk.x86_64.tar.gz
      2. Launch JBT, and Central will open by itself (default)
      3. Select Software/Update tab
      4. Close Central
      (So far, so good.)

      5. Reopen it from the coolbar icon.
      7. Select "Show Early Access" checkbox (enable or disable, whichever shows that same issue)

      Pop-up:

      Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      

      Stack:

      org.eclipse.swt.SWTException: Widget is disposed
      	at org.eclipse.swt.SWT.error(SWT.java:4441)
      	at org.eclipse.swt.SWT.error(SWT.java:4356)
      	at org.eclipse.swt.SWT.error(SWT.java:4327)
      	at org.eclipse.swt.widgets.Widget.error(Widget.java:476)
      	at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:562)
      	at org.jboss.tools.central.editors.JBossCentralEditor$HeaderText$1.propertyChange(JBossCentralEditor.java:533)
      	at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:382)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:378)
      	at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(ScopedPreferenceStore.java:197)
      	at org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:896)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:899)
      	at org.eclipse.core.internal.preferences.EclipsePreferences.putBoolean(EclipsePreferences.java:926)
      	at org.jboss.tools.central.editors.SoftwarePage.handleEarlyAccessChanged(SoftwarePage.java:553)
      	at org.jboss.tools.central.editors.SoftwarePage.access$11(SoftwarePage.java:506)
      	at org.jboss.tools.central.editors.SoftwarePage$5.widgetSelected(SoftwarePage.java:236)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	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:382)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
      	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:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      

      Environment:

      eclipse.buildId=4.4.0.I20140606-1215
      java.version=1.8.0
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product -showLocation -Dorg.jboss.tools.vpe.loadxulrunner=false 
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -clean -showLocation -data /home/nboldt/eclipse/workspace-clean44 -consolelog -console -debug -Dorg.jboss.tools.vpe.loadxulrunner=false 
      

      Restarting Eclipse/JBDS "resets" the error so first Central page works fine, but the bug is still there for next times you'll open Central.

      Attachments

        Activity

          People

            mistria@redhat.com Mickael Istria
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: