Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2008-08-27 16:41:36 +0000
committerMichael Rennie2008-08-27 16:41:36 +0000
commite1f0d10d999cea68b4989ea314d636ed474c28de (patch)
treec6fffe149a3fa62c308d4b3fa07f7dc157091a56
parentc3ad6a8d57a16a697a2c28e850204df7e3da817f (diff)
downloadeclipse.platform.debug-e1f0d10d999cea68b4989ea314d636ed474c28de.tar.gz
eclipse.platform.debug-e1f0d10d999cea68b4989ea314d636ed474c28de.tar.xz
eclipse.platform.debug-e1f0d10d999cea68b4989ea314d636ed474c28de.zip
Bug 244566 [Contexts] NullPointerExceptions in eclipse core plugin
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
index 4c465cfc0..1cd124c46 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
@@ -342,11 +342,11 @@ public class ConsoleView extends PageBookView implements IConsoleView, IConsoleL
* @see org.eclipse.ui.IWorkbenchPart#dispose()
*/
public void dispose() {
- super.dispose();
IViewSite site = getViewSite();
if(site != null) {
site.getPage().removePartListener((IPartListener2)this);
}
+ super.dispose();
ConsoleManager consoleManager = (ConsoleManager) ConsolePlugin.getDefault().getConsoleManager();
consoleManager.removeConsoleListener(this);
consoleManager.unregisterConsoleView(this);

Back to the top