org.eclipse.swt.SWTException: Widget is disposed

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    This seemed to appear when closing a project and restarting. It may have been that the closed project was the currently selected one before the restart. {code} !ENTRY org.eclipse.ui.workbench 4 2 2011-07-19 10:02:35.164 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 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:715) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:531) at org.eclipse.swt.widgets.Control.setFocus(Control.java:3337) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020) at org.eclipse.ui.texteditor.StatusTextEditor.setFocus(StatusTextEditor.java:100) at com.aptana.editor.common.AbstractThemeableEditor.setFocus(AbstractThemeableEditor.java:389) at com.aptana.editor.common.AbstractThemeableEditor$2.shellActivated(AbstractThemeableEditor.java:427) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379) at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5031) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213) at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324) at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4863) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.makeKeyAndOrderFront(NSWindow.java:190) at org.eclipse.swt.widgets.Shell.makeKeyAndOrderFront(Shell.java:1130) at org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:1740) at org.eclipse.swt.widgets.Shell.open(Shell.java:1173) at org.eclipse.jface.window.Window.open(Window.java:797) at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:790) at org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3658) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) 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 com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) 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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Widget is disposed
  2. 0

    This seemed to appear when closing a project and restarting. It may have been that the closed project was the currently selected one before the restart. {code} !ENTRY org.eclipse.ui.workbench 4 2 2011-07-19 10:02:35.164 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 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:715) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:531) at org.eclipse.swt.widgets.Control.setFocus(Control.java:3337) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020) at org.eclipse.ui.texteditor.StatusTextEditor.setFocus(StatusTextEditor.java:100) at com.aptana.editor.common.AbstractThemeableEditor.setFocus(AbstractThemeableEditor.java:389) at com.aptana.editor.common.AbstractThemeableEditor$2.shellActivated(AbstractThemeableEditor.java:427) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379) at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5031) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213) at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324) at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4863) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.makeKeyAndOrderFront(NSWindow.java:190) at org.eclipse.swt.widgets.Shell.makeKeyAndOrderFront(Shell.java:1130) at org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:1740) at org.eclipse.swt.widgets.Shell.open(Shell.java:1173) at org.eclipse.jface.window.Window.open(Window.java:797) at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:790) at org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3658) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) 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 com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) 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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Widget is disposed
  3. 0

    Eclipse freezes and eventually crashes while opening class

    Stack Overflow | 2 years ago
    org.eclipse.swt.SWTException: Widget is disposed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception on fresh installation

    GitHub | 9 months ago | olehlong
    org.eclipse.swt.SWTException: Widget is disposed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Widget is disposed

      at org.eclipse.swt.SWT.error()
    2. RWT
      Composite.setFocus
      1. org.eclipse.swt.SWT.error(SWT.java:4083)
      2. org.eclipse.swt.SWT.error(SWT.java:3998)
      3. org.eclipse.swt.SWT.error(SWT.java:3969)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:715)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:531)
      6. org.eclipse.swt.widgets.Control.setFocus(Control.java:3337)
      7. org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020)
      8. org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1020)
      8 frames
    3. Text Editor Framework
      StatusTextEditor.setFocus
      1. org.eclipse.ui.texteditor.StatusTextEditor.setFocus(StatusTextEditor.java:100)
      1 frame
    4. com.aptana.editor
      AbstractThemeableEditor$2.shellActivated
      1. com.aptana.editor.common.AbstractThemeableEditor.setFocus(AbstractThemeableEditor.java:389)
      2. com.aptana.editor.common.AbstractThemeableEditor$2.shellActivated(AbstractThemeableEditor.java:427)
      2 frames
    5. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379)
      7. org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5031)
      8 frames
    6. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    7. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213)
      2. org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324)
      3. org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:4863)
      4 frames
    8. org.eclipse.swt
      NSWindow.makeKeyAndOrderFront
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSWindow.makeKeyAndOrderFront(NSWindow.java:190)
      2 frames
    9. RWT
      Shell.open
      1. org.eclipse.swt.widgets.Shell.makeKeyAndOrderFront(Shell.java:1130)
      2. org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:1740)
      3. org.eclipse.swt.widgets.Shell.open(Shell.java:1173)
      3 frames
    10. JFace
      Window.open
      1. org.eclipse.jface.window.Window.open(Window.java:797)
      1 frame
    11. Eclipse UI
      StartupThreading$StartupRunnable.run
      1. org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:790)
      2. org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3658)
      3. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      3 frames
    12. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286)
      4 frames
    13. Workbench
      WorkbenchAdvisor.openWindows
      1. org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
      1 frame
    14. Eclipse UI
      StartupThreading$StartupRunnable.run
      1. org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
      2. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      2 frames
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286)
      4 frames
    16. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
      2. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      3. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      3 frames
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    18. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    19. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    20. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    21. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    22. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    23. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    24. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      3 frames