Project: Eclipse_Platform_UI
Bug 48429 [CoolBar] npe during startup
Reported: 2003-12-10 14:09:58 | Status: resolved fixed

build i1210:1227, winxp, j9sc1104 I downloaded the new build and started it up against my old workspace. I got a dialog saying that there were errors and my workbench state couldn't be restored. The following was in the log file. All my prespectives were reset. !ENTRY org.eclipse.core.runtime 4 2 Dec 10, 2003 14:04:58.312 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.ru ntime". !STACK 0 java.lang.NullPointerException at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java:73) at java.lang.NullPointerException.<init>(NullPointerException.java:60) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow. java:1257) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1366) at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:1334) at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:1256) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo rm.java:809) at org.eclipse.core.runtime.Platform.run(Platform.java:447) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbenc h.java:1212) at org.eclipse.ui.internal.Workbench.init(Workbench.java:900) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1500) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav a:242) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47 ) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:242) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.internal.boot.OSGiBootLoader.basicRun(OSGiBootLoader .java:239) at org.eclipse.core.internal.boot.OSGiBootLoader.run(OSGiBootLoader.java :665) at org.eclipse.core.internal.boot.OSGiBootLoader.run(OSGiBootLoader.java :652) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.launcher.Main.basicRun(Main.java:299) at org.eclipse.core.launcher.Main.run(Main.java:767) at org.eclipse.core.launcher.Main.main(Main.java:601)

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