Project: Eclipse_Platform_UI
Bug 24888 [Workbench] NPE during shutdown
Reported: 2002-10-17 04:39:30 | Status: resolved fixed

Build 20021015 !ENTRY org.eclipse.ui.workbench 4 2 Oct 17, 2002 11:08:40.171 !MESSAGE Problems occurred when invoking code from plug- in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.ui.XMLMemento.putMemento(XMLMemento.java:365) at org.eclipse.ui.internal.EditorManager.saveState (EditorManager.java:1041) at org.eclipse.ui.internal.WorkbenchPage.saveState (WorkbenchPage.java:2111) at org.eclipse.ui.internal.WorkbenchWindow.saveState (WorkbenchWindow.java:1182) at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1383) at org.eclipse.ui.internal.Workbench.recordWorkbenchState (Workbench.java:1172) at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:1170) at org.eclipse.ui.internal.Workbench$1.run(Workbench.java:158) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:839) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:156) at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:154) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:311) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.Workbench.close(Workbench.java:309) at org.eclipse.ui.internal.Workbench.close(Workbench.java:301) at org.eclipse.ui.internal.Workbench.close(Workbench.java:295) at org.eclipse.ui.internal.QuitAction.run(QuitAction.java:31) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1360) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1343) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)

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