Project: Eclipse_Platform_UI
Bug 15273 Null pointer exception when double click on a MultiEditor part
Reported: 2002-05-04 19:18:31 | Status: resolved fixed

I have a TiledEditor that subclass from MultiEditor part. When I double click on the tab to zoom it up, I got the following NPE. I am running on M5. java.lang.NullPointerException at org.eclipse.ui.internal.PerspectivePresentation.partChangeAffectsZoom (PerspectivePresentation.java:1155) at org.eclipse.ui.internal.WorkbenchPage.partChangeAffectsZoom (WorkbenchPage.java:1624) at org.eclipse.ui.internal.WorkbenchPage.bringToTop (WorkbenchPage.java:428) at org.eclipse.ui.internal.WorkbenchPage.activate (WorkbenchPage.java:334) at org.eclipse.ui.internal.WorkbenchPage.toggleZoom (WorkbenchPage.java:2126) at org.eclipse.ui.internal.EditorWorkbook.doZoom (EditorWorkbook.java:292) at org.eclipse.ui.internal.EditorWorkbook.access$6 (EditorWorkbook.java:289) at org.eclipse.ui.internal.EditorWorkbook$4.mouseDoubleClick (EditorWorkbook.java:157) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:132) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1412) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:865) at org.eclipse.ui.internal.Workbench.run(Workbench.java:848) 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:190) at org.eclipse.core.launcher.Main.run(Main.java:549) at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)

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