org.eclipse.swt.SWTException: Widget is disposed

Appcelerator JIRA | Ingo Muschenetz | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    From my log file. Unfortunately not sure how to replicate. {code} !ENTRY org.eclipse.ui.console 4 120 2011-07-13 08:13:50.191 !MESSAGE Error logged from Console plug-in: !STACK 0 org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568) at org.eclipse.swt.custom.StyledText.removeLineStyleListener(StyledText.java:7550) at com.aptana.console.internal.ui.ConsoleStyledTextListener.dispose(ConsoleStyledTextListener.java:42) at com.aptana.console.internal.ui.ConsolePageParticipant.dispose(ConsolePageParticipant.java:41) at org.eclipse.ui.internal.console.ConsoleView$2.run(ConsoleView.java:275) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.console.ConsoleView.doDestroyPage(ConsoleView.java:273) at org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:857) at org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:515) at org.eclipse.ui.internal.console.ConsoleView.dispose(ConsoleView.java:361) at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:737) at org.eclipse.ui.internal.ViewReference.doDisposePart(ViewReference.java:104) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:684) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1797) at org.eclipse.ui.internal.WorkbenchPage.partRemoved(WorkbenchPage.java:1789) at org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:257) at org.eclipse.ui.internal.Perspective.dispose(Perspective.java:292) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1868) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:887) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1722) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109) at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106) at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035) at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1277) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1249) at org.eclipse.ui.internal.Workbench$65.handleEvent(Workbench.java:2564) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5142) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4876) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5223) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) 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:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code}

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

    From my log file. Unfortunately not sure how to replicate. {code} !ENTRY org.eclipse.ui.console 4 120 2011-07-13 08:13:50.191 !MESSAGE Error logged from Console plug-in: !STACK 0 org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568) at org.eclipse.swt.custom.StyledText.removeLineStyleListener(StyledText.java:7550) at com.aptana.console.internal.ui.ConsoleStyledTextListener.dispose(ConsoleStyledTextListener.java:42) at com.aptana.console.internal.ui.ConsolePageParticipant.dispose(ConsolePageParticipant.java:41) at org.eclipse.ui.internal.console.ConsoleView$2.run(ConsoleView.java:275) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.console.ConsoleView.doDestroyPage(ConsoleView.java:273) at org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:857) at org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:515) at org.eclipse.ui.internal.console.ConsoleView.dispose(ConsoleView.java:361) at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:737) at org.eclipse.ui.internal.ViewReference.doDisposePart(ViewReference.java:104) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:684) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1797) at org.eclipse.ui.internal.WorkbenchPage.partRemoved(WorkbenchPage.java:1789) at org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:257) at org.eclipse.ui.internal.Perspective.dispose(Perspective.java:292) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1868) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:887) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1722) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109) at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106) at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035) at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1277) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1249) at org.eclipse.ui.internal.Workbench$65.handleEvent(Workbench.java:2564) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5142) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4876) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5223) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) 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:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code}

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

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Widget is disposed

      at org.eclipse.swt.SWT.error()
    2. RWT
      StyledText.removeLineStyleListener
      1. org.eclipse.swt.SWT.error(SWT.java:4282)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:774)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568)
      6. org.eclipse.swt.custom.StyledText.removeLineStyleListener(StyledText.java:7550)
      6 frames
    3. com.aptana.console
      ConsolePageParticipant.dispose
      1. com.aptana.console.internal.ui.ConsoleStyledTextListener.dispose(ConsoleStyledTextListener.java:42)
      2. com.aptana.console.internal.ui.ConsolePageParticipant.dispose(ConsolePageParticipant.java:41)
      2 frames
    4. Console
      ConsoleView$2.run
      1. org.eclipse.ui.internal.console.ConsoleView$2.run(ConsoleView.java:275)
      1 frame
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    6. Console
      ConsoleView.doDestroyPage
      1. org.eclipse.ui.internal.console.ConsoleView.doDestroyPage(ConsoleView.java:273)
      1 frame
    7. Eclipse UI
      PageBookView.dispose
      1. org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:857)
      2. org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:515)
      2 frames
    8. Console
      ConsoleView.dispose
      1. org.eclipse.ui.internal.console.ConsoleView.dispose(ConsoleView.java:361)
      1 frame
    9. Eclipse UI
      WorkbenchWindow$5.run
      1. org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:737)
      2. org.eclipse.ui.internal.ViewReference.doDisposePart(ViewReference.java:104)
      3. org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:684)
      4. org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1797)
      5. org.eclipse.ui.internal.WorkbenchPage.partRemoved(WorkbenchPage.java:1789)
      6. org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:257)
      7. org.eclipse.ui.internal.Perspective.dispose(Perspective.java:292)
      8. org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1868)
      9. org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:887)
      10. org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1722)
      11. org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
      12. org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
      13. org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
      13 frames
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. Eclipse UI
      WorkbenchWindow.close
      1. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
      1 frame
    12. JFace
      WindowManager.close
      1. org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
      1 frame
    13. Eclipse UI
      Workbench$18.run
      1. org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109)
      1 frame
    14. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    15. Eclipse UI
      Workbench$25.run
      1. org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106)
      2. org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035)
      3. org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279)
      3 frames
    16. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    17. Eclipse UI
      Workbench$65.handleEvent
      1. org.eclipse.ui.internal.Workbench.close(Workbench.java:1277)
      2. org.eclipse.ui.internal.Workbench.close(Workbench.java:1249)
      3. org.eclipse.ui.internal.Workbench$65.handleEvent(Workbench.java:2564)
      3 frames
    18. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
      4. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5142)
      4 frames
    19. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    20. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4876)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5223)
      2 frames
    21. org.eclipse.swt
      NSApplication.nextEventMatchingMask
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94)
      2 frames
    22. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604)
      1 frame
    23. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
      4 frames
    24. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    25. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
      1 frame
    26. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    27. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    28. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    29. 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:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    30. 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
    31. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      4 frames