Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Blackburn2011-01-04 20:28:14 +0000
committerJames Blackburn2011-01-04 20:28:14 +0000
commit94e6baa3f7a991ef56d0a1b1e4bf5df781e31d5b (patch)
tree75dc43b58058b3306c89b175f6392cee2d43dc55 /launch/org.eclipse.cdt.launch
parent92c3c8638f559bde79aa54c9c385344f65edd50b (diff)
downloadorg.eclipse.cdt-94e6baa3f7a991ef56d0a1b1e4bf5df781e31d5b.tar.gz
org.eclipse.cdt-94e6baa3f7a991ef56d0a1b1e4bf5df781e31d5b.tar.xz
org.eclipse.cdt-94e6baa3f7a991ef56d0a1b1e4bf5df781e31d5b.zip
Bug 333504 - [remote launch] NPE after switching to "Standard Launcher" in Remote Application debug configuration
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
index 49394fdc9d0..d9478a305bd 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010 Nokia Corporation and others.
+ * Copyright (c) 2010, 2011 Nokia Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,7 +8,8 @@
* Contributors:
* Ken Ryall (Nokia) - initial API and implementation
* IBM Corporation
- * Alex Collins (Broadcom Corp.) - choose build config automatically
+ * Alex Collins (Broadcom Corp.) - choose build config automatically
+ * Anna Dushistova (Mentor Graphics) - [333504] [remote launch] NPE after switching to "Standard Launcher" in Remote Application debug configuration
*******************************************************************************/
package org.eclipse.cdt.launch.ui;
@@ -583,7 +584,7 @@ public abstract class CAbstractMainTab extends CLaunchConfigurationTab {
*/
@Override
protected void updateLaunchConfigurationDialog() {
- if (fBuildConfigAuto.getSelection())
+ if (fBuildConfigAuto != null && fBuildConfigAuto.getSelection())
updateBuildConfigCombo(EMPTY_STRING);
super.updateLaunchConfigurationDialog();
}

Back to the top