fixed bug #11286.
authorwpaul
Thu, 22 Jul 2010 13:14:37 -0500
changeset 1665 84889eebc1c3
parent 1661 cd8159f371c7
child 1671 10fa6b1a054d
fixed bug #11286.
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/SymbianProjectPropertyTester.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/SymbianProjectPropertyTester.java	Wed Jul 21 14:53:42 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/SymbianProjectPropertyTester.java	Thu Jul 22 13:14:37 2010 -0500
@@ -109,7 +109,7 @@
 					if (cpi != null) {
 						ICarbideBuildConfiguration buildConfig = cpi.getDefaultConfiguration();
 						// just check the platform for the default config
-						if (buildConfig.getPlatformString().equals(ISymbianBuildContext.EMULATOR_PLATFORM)) {
+						if (buildConfig != null && buildConfig.getPlatformString().equals(ISymbianBuildContext.EMULATOR_PLATFORM)) {
 							return true;
 						}
 					}