Project: Eclipse_Platform_UI
Bug 219361 RCPTestWorkbenchAdvisor has widget exception
Reported: 2008-02-18 20:13:09 | Status: verified fixed

All of the tests pass, but this sync thread does not clean up properly: Exception in thread "Thread-10" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-15" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-20" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-25" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-45" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-50" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-55" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-60" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-65" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-70" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-75" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-80" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-85" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-90" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-95" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-100" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-105" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163) Exception in thread "Thread-110" org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3716) at org.eclipse.swt.SWT.error(SWT.java:3634) at org.eclipse.swt.SWT.error(SWT.java:3605) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:160) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:135) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4183) at org.eclipse.ui.tests.rcp.util.RCPTestWorkbenchAdvisor$2.run(RCPTestWorkbenchAdvisor.java:163)

Files changed in fix:
tests/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/util/RCPTestWorkbenchAdvisor.java