Project: Eclipse_Platform_UI
Bug 177116 [Contributions] NPE in PopupMenuExtender.dispose
Reported: 2007-03-13 05:18:29 | Status: verified fixed

I20070306-1200 Found this NPE in the log. It's probably a bug in the 'tk.eclipse.plugin.htmleditor' but PopupMenuExtender.dispose might want to add a null check here too. java.lang.NullPointerException at org.eclipse.ui.internal.PopupMenuExtender.dispose(PopupMenuExtender.java:444) at tk.eclipse.plugin.htmleditor.editors.SplitPageHTMLEditor$SplitEditorSite.dispose(SplitPageHTMLEditor.java:262) at tk.eclipse.plugin.htmleditor.editors.SplitPageHTMLEditor.dispose(SplitPageHTMLEditor.java:100) at tk.eclipse.plugin.htmleditor.editors.HTMLEditor.dispose(HTMLEditor.java:120) at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:720) at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:302) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:671)

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