Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Sennikovsky2007-02-28 10:12:50 +0000
committerMikhail Sennikovsky2007-02-28 10:12:50 +0000
commit871c565145b5d9efd5eeca9ccd13620ac6eedc86 (patch)
treefcc61ad1663776457899c635afb05f93ac3b4636
parent3af158b7d9a63029a5d607519bf923392c7a6069 (diff)
downloadorg.eclipse.cdt-871c565145b5d9efd5eeca9ccd13620ac6eedc86.tar.gz
org.eclipse.cdt-871c565145b5d9efd5eeca9ccd13620ac6eedc86.tar.xz
org.eclipse.cdt-871c565145b5d9efd5eeca9ccd13620ac6eedc86.zip
added a null pointer check to the PathEntry Var manager
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CdtVarPathEntryVariableManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CdtVarPathEntryVariableManager.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CdtVarPathEntryVariableManager.java
index 8268b089a0e..16662e1375b 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CdtVarPathEntryVariableManager.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CdtVarPathEntryVariableManager.java
@@ -163,6 +163,9 @@ public class CdtVarPathEntryVariableManager implements
}
public IPath resolvePath(IPath path) {
+ if(path == null)
+ return null;
+
String str = path.toPortableString();
try {

Back to the top