Project: Eclipse_Platform_UI
Bug 184465 NPE restarting workbench
Reported: 2007-04-27 11:55:06 | Status: resolved fixed

Starting a test workspace from my host IDE (I20070427-0010), I got the following NPE. Did not happen on next re-start. java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:3011) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:2061) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:3316) at org.eclipse.ui.internal.Workbench.access$32(Workbench.java:3258) at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2097) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1812) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:2095) at org.eclipse.ui.internal.Workbench.access$30(Workbench.java:2066) at org.eclipse.ui.internal.Workbench$46.run(Workbench.java:1924) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1868) 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:1338) at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1274) at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2284)

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