Project: SWT
Bug 207852 Widget disposed error when running UI test suite on WinXP
Reported: 2007-10-29 17:07:41 | Status: resolved fixed

This was introduced between N20071026-0010 and N20071027-0010. Widget is disposed org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3706) at org.eclipse.swt.SWT.error(SWT.java:3624) at org.eclipse.swt.SWT.error(SWT.java:3595) at org.eclipse.swt.widgets.Widget.error(Widget.java:441) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:334) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2568) at org.eclipse.swt.widgets.CoolBar.wmNotifyChild(CoolBar.java:1127) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4703) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1723) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4333) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3826) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4436) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2233) at org.eclipse.swt.widgets.CoolBar.callWindowProc(CoolBar.java:115) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3862) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4423) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2995) at org.eclipse.swt.widgets.CoolBar.resizeToMaximumWidth(CoolBar.java:696) at org.eclipse.swt.widgets.CoolBar.destroyItem(CoolBar.java:312) at org.eclipse.swt.widgets.CoolItem.destroyWidget(CoolItem.java:199) at org.eclipse.swt.widgets.Widget.release(Widget.java:759) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:419) at org.eclipse.jface.action.ToolBarContributionItem.dispose(ToolBarContributionItem.java:170) at org.eclipse.ui.internal.EditorActionBars.dispose(EditorActionBars.java:195) at org.eclipse.ui.internal.EditorManager.disposeEditorActionBars(EditorManager.java:363) at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:300) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:681) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1586) at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1345) at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1329) at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1303) at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1122) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1635) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:825) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1559) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:699) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:675) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:790) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:788) at org.eclipse.ui.tests.harness.util.UITestCase.closeAllTestWindows(UITestCase.java:274) at org.eclipse.ui.tests.harness.util.UITestCase.doTearDown(UITestCase.java:215) at org.eclipse.ui.tests.harness.util.UITestCase.tearDown(UITestCase.java:203) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206) at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:124) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138) at org.eclipse.test.UITestApplication.run(UITestApplication.java:60) at org.eclipse.test.UITestApplication.start(UITestApplication.java:210) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) at org.eclipse.equinox.launcher.Main.main(Main.java:1169) at org.eclipse.core.launcher.Main.main(Main.java:30)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java