Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2006-02-19 22:00:21 -0500
committerDarin Swanson2006-02-19 22:00:21 -0500
commit50f2e79b8249bdea6232f772f9f94e14446d2db8 (patch)
tree7774d23cf64924a28a7fa6309d405b0adeed6975 /org.eclipse.ui.console
parent2fab4fe89685543610bbe4d7fcff4114d4f50114 (diff)
downloadeclipse.platform.debug-50f2e79b8249bdea6232f772f9f94e14446d2db8.tar.gz
eclipse.platform.debug-50f2e79b8249bdea6232f772f9f94e14446d2db8.tar.xz
eclipse.platform.debug-50f2e79b8249bdea6232f772f9f94e14446d2db8.zip
Bug 128553 - NPE when launching Ant launch config
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/PatternMatchListenerExtension.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/PatternMatchListenerExtension.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/PatternMatchListenerExtension.java
index 2cf220039..788b4329e 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/PatternMatchListenerExtension.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/PatternMatchListenerExtension.java
@@ -133,7 +133,9 @@ public class PatternMatchListenerExtension implements IPluginContribution {
if (fQualifier == null) {
fQualifier = fConfig.getAttribute("qualifier"); //$NON-NLS-1$
try {
- fQualifier = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(fQualifier, false);
+ if (fQualifier != null) {
+ fQualifier = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(fQualifier, false);
+ }
} catch (CoreException e) {
ConsolePlugin.log(e);
}

Back to the top