Project: Eclipse_Platform_UI
Bug 173445 [Workbench] Invalid thread access on startup
Reported: 2007-02-08 09:17:05 | Status: verified fixed

I got the following exception on startup. My workbench state was reset. !ENTRY org.eclipse.ui.workbench 4 2 2007-02-08 08:19:17.421 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 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.Widget.checkWidget(Widget.java:326) at org.eclipse.swt.widgets.Control.getShell(Control.java:1263) at org.eclipse.ui.internal.LayoutPart.getShell(LayoutPart.java:185) at org.eclipse.ui.internal.LayoutPart.getWorkbenchWindow(LayoutPart.java:197) at org.eclipse.ui.internal.EditorSashContainer.setTrimState(EditorSashContainer.java:640) at org.eclipse.ui.internal.EditorSashContainer.restoreState(EditorSashContainer.java:392) at org.eclipse.ui.internal.EditorAreaHelper.restoreState(EditorAreaHelper.java:226) at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1017) at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2870) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1999) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:3212) at org.eclipse.ui.internal.Workbench.access$32(Workbench.java:3155) at org.eclipse.ui.internal.Workbench$47.run(Workbench.java:1996) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1711) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1994) at org.eclipse.ui.internal.Workbench.access$30(Workbench.java:1965) at org.eclipse.ui.internal.Workbench$42.run(Workbench.java:1823) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1767) 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:1289) at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1234) at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183)

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