Project: Eclipse_Platform_UI
Bug 10826 Switching to update perspective causes JVM exit on next launch
Reported: 2002-03-05 22:54:47 | Status: resolved fixed

Using intergration build 20020305. eclipse-platform-20020325-win32.zip F:\installtst\eclipse>java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010925 (JIT enabled: jitc) Switching to the Install perspective and shutting down causes a jvm exit on startup next time. To Reproduce: 1) Start up the platform (.\eclipse) (i used a clean install of this) 2) switch to Install/Update Perspective 3) shutdown the platform 4) start the platform (.\eclipse) Log Log: Tue Mar 05 22:45:14 EST 2002 2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in: org.eclipse.ui. java.lang.NullPointerException at org.eclipse.ui.internal.EditorWorkbook.drawGradient (EditorWorkbook.java:318) at org.eclipse.ui.internal.EditorPane.shellActivated (EditorPane.java:125) at org.eclipse.ui.internal.WorkbenchWindow$8.shellActivated (WorkbenchWindow.java:988) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:155) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:74) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE (Decorations.java:1362) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:969) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1334) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method) at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:183) at org.eclipse.swt.widgets.Shell.open(Shell.java:566) at org.eclipse.jface.window.Window.open(Window.java:521) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:660) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:502) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:817) at org.eclipse.core.runtime.Platform.run(Platform.java:395) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:487) at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:537) at org.eclipse.ui.internal.Workbench.init(Workbench.java:397) at org.eclipse.ui.internal.Workbench.run(Workbench.java:680) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:777) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) 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/EditorWorkbook.java