fix NPE, avoid adding a null system include path.
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java Wed Jul 21 12:11:48 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java Wed Jul 21 13:52:53 2010 -0500
@@ -462,7 +462,7 @@
prefix = varVarHRH.toFile();
}
}
- if (prefix != null) {
+ if (prefix != null && prefix.getParentFile() != null) {
systemIncludes.add(prefix.getParentFile());
}