Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2002-06-10 15:13:51 -0400
committerJared Burns2002-06-10 15:13:51 -0400
commite5b28ffba6f5c68c74fc7315e51fec25b6ab50fc (patch)
tree8f3ec1fc17418a7a454440e266180d6900d9e3c4 /org.eclipse.debug.ui
parentb5c9f4154a3bf03f32a426c1e2cd238e9297ede7 (diff)
downloadeclipse.platform.debug-e5b28ffba6f5c68c74fc7315e51fec25b6ab50fc.tar.gz
eclipse.platform.debug-e5b28ffba6f5c68c74fc7315e51fec25b6ab50fc.tar.xz
eclipse.platform.debug-e5b28ffba6f5c68c74fc7315e51fec25b6ab50fc.zip
Bug 19796 - NPE in ConsoleDocumentManager
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleDocumentManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleDocumentManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleDocumentManager.java
index 6a58ddc3d..493058984 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleDocumentManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleDocumentManager.java
@@ -273,7 +273,7 @@ public class ConsoleDocumentManager implements ILaunchListener {
DebugUIPlugin.getDefault().getStandardDisplay().asyncExec(new Runnable() {
public void run() {
IProcess debugViewProcess= getDebugViewProcess();
- if (debugViewProcess != null && !getConsoleDocument(debugViewProcess).equals(doc)) {
+ if (doc != null && debugViewProcess != null && !doc.equals(getConsoleDocument(debugViewProcess))) {
return;
}
IWorkbenchWindow window= DebugUIPlugin.getDefault().getActiveWorkbenchWindow();

Back to the top