Project: Eclipse_Platform_UI
Bug 230970 [ViewMgmt] NPE in view code should not prevent closing it
Reported: 2008-05-07 15:35:33 | Status: verified fixed

Found this while investigating a performance test failure with the following stack trace (partial, the NPE happened further up in some Debug view): at org.eclipse.swt.widgets.Widget.dispose(Widget.java:440) at org.eclipse.ui.internal.PartPane.dispose(PartPane.java:176) at org.eclipse.ui.internal.ViewPane.dispose(ViewPane.java:192) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:678) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1646) at org.eclipse.ui.internal.WorkbenchPage.partRemoved(WorkbenchPage.java:1638) at org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:256) at org.eclipse.ui.internal.Perspective.dispose(Perspective.java:281) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1717) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:843) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1579) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:716) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:692) at org.eclipse.ui.internal.WorkbenchWindow$3.run(WorkbenchWindow.java:808) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:806)

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