Don't assume App TRK if service has no value at all for 'is-sys-trk' property RCL_2_4
authorEd Swartz <ed.swartz@nokia.com>
Thu, 08 Apr 2010 15:26:35 -0500
branchRCL_2_4
changeset 1192 d1b481b25ae9
parent 1191 0523013ddf00
child 1194 8b009a719336
child 1195 c38677b41881
Don't assume App TRK if service has no value at all for 'is-sys-trk' property
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Fri Apr 09 07:45:47 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Thu Apr 08 15:26:35 2010 -0500
@@ -420,7 +420,9 @@
 		IConnectedService connectedService = getConnectedService();
 		if (connectedService instanceof IConnectedService2) {
 			String value = ((IConnectedService2) connectedService).getProperties().get("is-system-trk"); //$NON-NLS-1$
-			return Boolean.parseBoolean(value);
+			if (value != null) {
+				return Boolean.parseBoolean(value);
+			}
 		}
 		
 		return null;