Project: Eclipse_Platform_UI
Bug 21717 Null Pointer Exception in EditorWorkbook.java
Reported: 2002-07-18 19:20:46 | Status: resolved fixed

Upon closing a project, I got an error such as 'Unable to restore editor <name>'. Then I noticed that I was able to double click on the blank background where editors would normally be (no editor was open), and the blank 'gray' background would be 'maximized' as if an editor were there. I then noticed this error message in the log file: !ENTRY org.eclipse.ui 4 0 Jul 18, 2002 16:29:07.800 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.EditorWorkbook$4.mouseDown (EditorWorkbook.java:165) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:126) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)

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