org.eclipse.swt.SWTException: Widget is disposed

Appcelerator JIRA | Shalom Gibly | 6 years ago
  1. 0

    {html}<div><p>I used the attached file and deleted almost all of the 'CD' elements from it, leaving only the first.<br> The XML outline did not update correctly and showed some of the old element.<br> When clicking on an old element, I got this exception:</p> <pre> <code>!ENTRY org.eclipse.ui 4 4 2010-11-09 11:43:01.231 !MESSAGE An internal error has occurred. !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:468) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340) at org.eclipse.swt.widgets.Widget.getData(Widget.java:525) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2623) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1867) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1874) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1842) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1799) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1785) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1487) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1485) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1444) at com.aptana.editor.common.outline.CommonOutlinePage$6.runInUIThread(CommonOutlinePage.java:304) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) 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:4041) at org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3375) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) 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.aptana.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:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)</code> </pre></div>{html}

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

    {html}<div><p>I used the attached file and deleted almost all of the 'CD' elements from it, leaving only the first.<br> The XML outline did not update correctly and showed some of the old element.<br> When clicking on an old element, I got this exception:</p> <pre> <code>!ENTRY org.eclipse.ui 4 4 2010-11-09 11:43:01.231 !MESSAGE An internal error has occurred. !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:468) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340) at org.eclipse.swt.widgets.Widget.getData(Widget.java:525) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2623) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1867) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1874) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1842) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1799) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1785) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1487) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1485) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1444) at com.aptana.editor.common.outline.CommonOutlinePage$6.runInUIThread(CommonOutlinePage.java:304) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) 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:4041) at org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3375) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) 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.aptana.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:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)</code> </pre></div>{html}

    Appcelerator JIRA | 6 years ago | Shalom Gibly
    org.eclipse.swt.SWTException: Widget is disposed
  3. 0

    [Viewers] SWTException: Widget is disposed, when deleting table rows

    Eclipse Bugzilla | 1 decade ago | 7elw95btwiuegh2
    org.eclipse.swt.SWTException: Widget is disposed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Viewers] Widget Disposed Exception when importing breakpoint

    Eclipse Bugzilla | 10 years ago | chanskw
    org.eclipse.swt.SWTException: Widget is disposed
  6. 0

    [breakpoints] Widget disposed exception from breakpoints view

    Eclipse Bugzilla | 10 years ago | Michael_Rennie
    org.eclipse.swt.SWTException: Widget is disposed

    2 unregistered visitors
    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
      Widget.getData
      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:468)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
      6. org.eclipse.swt.widgets.Widget.getData(Widget.java:525)
      6 frames
    3. JFace
      StructuredViewer.refresh
      1. org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2623)
      2. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1867)
      3. org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1874)
      5. org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
      6. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1842)
      7. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1799)
      8. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1785)
      9. org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1487)
      10. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
      11. org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
      12. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
      13. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1485)
      14. org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
      15. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1444)
      15 frames
    4. com.aptana.editor
      CommonOutlinePage$6.runInUIThread
      1. com.aptana.editor.common.outline.CommonOutlinePage$6.runInUIThread(CommonOutlinePage.java:304)
      1 frame
    5. Workbench
      UIJob$1.run
      1. org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
      1 frame
    6. RWT
      Display.msgFilterProc
      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:4041)
      4. org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3375)
      4 frames
    7. org.eclipse.swt
      OS.DefWindowProc
      1. org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454)
      2 frames
    8. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444)
      2. org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745)
      3. org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
      3 frames
    9. org.eclipse.swt
      OS.DefWindowProc
      1. org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454)
      2 frames
    10. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1444)
      2. org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5745)
      3. org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
      3 frames
    11. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
      2 frames
    12. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
      1 frame
    13. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    14. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    15. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    16. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    17. com.aptana.rcp
      IDEApplication.start
      1. com.aptana.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    18. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    19. 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
    20. 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
    21. Equinox
      Main.basicRun
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      2 frames