Project: Eclipse_Platform_UI
Bug 6757 When exiting the Eclipse workbench, UI reported error and to check log file, appears couldn't save settings on exit
Reported: 2001-12-10 14:24:22 | Status: resolved fixed

When exiting the Eclipse workbench, UI reported error and to check log file, appears couldn't save settings on exit. Here is the error from the log file: Log: Mon Dec 10 14:21:14 EST 2001 2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in: org.eclipse.ui. java.lang.NullPointerException at org.eclipse.ui.internal.PartTabFolder.saveState (PartTabFolder.java:700) at org.eclipse.ui.internal.RootLayoutContainer.saveState (RootLayoutContainer.java:150) at org.eclipse.ui.internal.PerspectivePresentation.saveState (PerspectivePresentation.java:1109) at org.eclipse.ui.internal.Perspective.saveState(Perspective.java:793) at org.eclipse.ui.internal.Perspective.saveState(Perspective.java:706) at org.eclipse.ui.internal.WorkbenchPage.saveState (WorkbenchPage.java:1269) at org.eclipse.ui.internal.WorkbenchWindow.saveState (WorkbenchWindow.java:828) at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:704) at org.eclipse.ui.internal.Workbench.recordWorkbenchState (Workbench.java:617) at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:615) at org.eclipse.ui.internal.Workbench$1.run(Workbench.java:80) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:758) at org.eclipse.core.runtime.Platform.run(Platform.java:393) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:78) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:76) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:157) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:98) at org.eclipse.ui.internal.Workbench.close(Workbench.java:155) at org.eclipse.ui.internal.WorkbenchWindow.busyClose (WorkbenchWindow.java:256) at org.eclipse.ui.internal.WorkbenchWindow.access$3 (WorkbenchWindow.java:251) at org.eclipse.ui.internal.WorkbenchWindow$1.run (WorkbenchWindow.java:291) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:98) at org.eclipse.ui.internal.WorkbenchWindow.close (WorkbenchWindow.java:289) at org.eclipse.jface.window.Window.handleShellCloseEvent (Window.java:462) at org.eclipse.jface.window.Window$2.shellClosed(Window.java:389) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:148) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:819) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:910) at org.eclipse.swt.widgets.Shell.WM_CLOSE(Shell.java:807) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:873) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java (Compiled Code)) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:873) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java (Compiled Code)) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:873) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1091) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:673) at org.eclipse.ui.internal.Workbench.run(Workbench.java:656) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:815) 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:433) at org.eclipse.core.launcher.Main.main(Main.java:306)

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