Project: Eclipse_Platform_UI
Bug 262364 [CommonNavigator] SWTException: Graphic is disposed while running the navigator tests
Reported: 2009-01-26 08:28:26 | Status: verified fixed

This appears after the last test has run (complete with a dialog that says the application failed to start). !ENTRY org.eclipse.osgi 4 0 2009-01-26 08:02:57.000 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTException: Graphic is disposed at org.eclipse.swt.SWT.error(SWT.java:3860) at org.eclipse.swt.SWT.error(SWT.java:3775) at org.eclipse.swt.SWT.error(SWT.java:3746) at org.eclipse.swt.graphics.Color.getRGB(Color.java:210) at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:152) at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:47) at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:172) at org.eclipse.ui.internal.themes.ColorDefinition.getValue(ColorDefinition.java:157) at org.eclipse.ui.internal.themes.ThemeElementHelper.installColor(ThemeElementHelper.java:276) at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:165) at org.eclipse.ui.internal.themes.WorkbenchThemeManager.updateThemes(WorkbenchThemeManager.java:161) at org.eclipse.ui.internal.themes.WorkbenchThemeManager.access$0(WorkbenchThemeManager.java:155) at org.eclipse.ui.internal.themes.WorkbenchThemeManager$3.handleEvent(WorkbenchThemeManager.java:135) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4036) at org.eclipse.swt.widgets.Display.runSettings(Display.java:3512) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3091) at org.eclipse.swt.widgets.Display.release(Display.java:3149) at org.eclipse.swt.graphics.Device.dispose(Device.java:235) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129) at org.eclipse.pde.internal.junit.runtime.UITestApplication.start(UITestApplication.java:46) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) 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:368) 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:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:550) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:505) at org.eclipse.equinox.launcher.Main.run(Main.java:1264) at org.eclipse.equinox.launcher.Main.main(Main.java:1240)

Files changed in fix:
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java