# HG changeset patch # User timkelly # Date 1279738373 18000 # Node ID 48d0d704d5e6eebaaeb66260ecf9fcf31e3efbce # Parent 03f5f8bf29b48a531abfc5f73559bf83da2dfa58 fix NPE, avoid adding a null system include path. diff -r 03f5f8bf29b4 -r 48d0d704d5e6 core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContextDataCache.java --- 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()); }