Project: Eclipse_Platform_UI
Bug 172808 [ErrorHandling] Invalid thread access on startup
Reported: 2007-02-04 21:07:56 | Status: verified fixed

Happened on startup We should look for similar cases too. Do we want to use the new error handling story in these cases anyways? org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3478) at org.eclipse.swt.SWT.error(SWT.java:3401) at org.eclipse.swt.SWT.error(SWT.java:3372) at org.eclipse.swt.widgets.Widget.error(Widget.java:432) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:274) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:363) at org.eclipse.jface.window.Window.createShell(Window.java:482) at org.eclipse.jface.window.Window.create(Window.java:425) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1111) at org.eclipse.jface.window.Window.open(Window.java:785) at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:297) at org.eclipse.jface.util.Policy$2.log(Policy.java:97) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:359) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:326) at org.eclipse.ui.internal.Workbench$41.run(Workbench.java:1815) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1756) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:751) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1282) at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1227) at org.eclipse.ui.internal.Workbench$48.run(Workbench.java:2158)

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