Project: Eclipse_Platform_UI
Bug 54838 widget is disposed error on shut down
Reported: 2004-03-15 11:08:57 | Status: resolved fixed

loaded latest code March 15, 2004 AM. ran for a while creating fast views moved fast view bar, maxmimized editors then exited and got the following error. ======================================= !MESSAGE Widget is disposed !STACK 0 org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:2625) at org.eclipse.swt.SWT.error(SWT.java:2555) at org.eclipse.swt.widgets.Widget.error(Widget.java:354) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:283) at org.eclipse.swt.widgets.Control.getParent(Control.java:883) at org.eclipse.ui.internal.dnd.DragUtil.getDisplayBounds (DragUtil.java:87) at org.eclipse.ui.internal.WidgetHider$1.handleEvent (WidgetHider.java:45) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:705) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:809) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2101) at org.eclipse.jface.window.Window.runEventLoop(Window.java:654) at org.eclipse.jface.window.Window.open(Window.java:634) at org.eclipse.jface.dialogs.MessageDialog.openError (MessageDialog.java:285) at org.eclipse.jface.util.SafeRunnable.handleException (SafeRunnable.java:50) at org.eclipse.core.internal.runtime.InternalPlatform.handleException (InternalPlatform.java:376) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:648) at org.eclipse.core.runtime.Platform.run(Platform.java:497) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:456) at org.eclipse.ui.internal.Workbench.access$6(Workbench.java:404) at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:569) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.ui.internal.Workbench.close(Workbench.java:567) at org.eclipse.ui.internal.Workbench.close(Workbench.java:543) at org.eclipse.ui.internal.WorkbenchWindow.busyClose (WorkbenchWindow.java:383) at org.eclipse.ui.internal.WorkbenchWindow.access$0 (WorkbenchWindow.java:368) at org.eclipse.ui.internal.WorkbenchWindow$1.run (WorkbenchWindow.java:453) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.ui.internal.WorkbenchWindow.close (WorkbenchWindow.java:451) at org.eclipse.jface.window.Window.handleShellCloseEvent (Window.java:579) at org.eclipse.jface.window.Window$2.shellClosed(Window.java:530) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:158) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:810) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:834) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:819) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1496) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2946) at org.eclipse.swt.widgets.Decorations.windowProc (Decorations.java:1439) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2966) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1433) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:397) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024) at org.eclipse.swt.widgets.Decorations.windowProc (Decorations.java:1439) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2966) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1438) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2099) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1452) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1423) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:258) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:79) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:260) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:173) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:106) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:305) at org.eclipse.core.launcher.Main.run(Main.java:745) at org.eclipse.core.launcher.Main.main(Main.java:713)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WidgetHider.java