Project: Eclipse_Platform_UI
Bug 6157 NPE launching Eclipse
Reported: 2001-11-21 07:22:25 | Status: resolved fixed

Eclipse 20011120 Windows 2000 Was running 20011116. Installed 20011120. Opened the same workspace. Got the following exception and lost all my perspective configuration: 2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in: org.eclipse.ui. java.lang.NullPointerException at org.eclipse.ui.internal.Perspective.restoreState (Perspective.java:616) at org.eclipse.ui.internal.WorkbenchPage.restoreState (WorkbenchPage.java:1264) at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:84) at org.eclipse.ui.internal.WorkbenchWindow.restoreState (WorkbenchWindow.java:753) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:688) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:518) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:812) at org.eclipse.core.runtime.Platform.run(Platform.java:395) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:502) at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:559) at org.eclipse.ui.internal.Workbench.init(Workbench.java:412) at org.eclipse.ui.internal.Workbench.run(Workbench.java:708) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:820) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362)

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