Skip to main content
summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJeff Johnston2018-02-01 11:14:07 -0500
committerJeff Johnston2018-02-01 11:14:07 -0500
commitea9050fddae54b258bc0a063d3ba08262145d214 (patch)
tree5c0ff36f1510bf5580cdd52ebf5d641428472878 /remote
parent33eeb12ae8e2f0dbf1cf244c3aae57928a5d4188 (diff)
downloadorg.eclipse.cdt-ea9050fddae54b258bc0a063d3ba08262145d214.tar.gz
org.eclipse.cdt-ea9050fddae54b258bc0a063d3ba08262145d214.tar.xz
org.eclipse.cdt-ea9050fddae54b258bc0a063d3ba08262145d214.zip
Bug 530619 - NullPointerException in RemoteCommandLauncher.setProject
- fix RemoteCommandLauncher default constructor to set up the fLocalLauncher field to point to a CommandLauncher Change-Id: Ic01a5b1d80d4b31021c7eb7080b0986e8fb61eea
Diffstat (limited to 'remote')
-rw-r--r--remote/org.eclipse.cdt.remote.core/src/org/eclipse/cdt/remote/core/RemoteCommandLauncher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/org.eclipse.cdt.remote.core/src/org/eclipse/cdt/remote/core/RemoteCommandLauncher.java b/remote/org.eclipse.cdt.remote.core/src/org/eclipse/cdt/remote/core/RemoteCommandLauncher.java
index dc173e0950..338391cda5 100644
--- a/remote/org.eclipse.cdt.remote.core/src/org/eclipse/cdt/remote/core/RemoteCommandLauncher.java
+++ b/remote/org.eclipse.cdt.remote.core/src/org/eclipse/cdt/remote/core/RemoteCommandLauncher.java
@@ -17,6 +17,7 @@ import java.net.URI;
import java.util.Map;
import java.util.Properties;
+import org.eclipse.cdt.core.CommandLauncher;
import org.eclipse.cdt.core.CommandLauncherManager;
import org.eclipse.cdt.core.ICommandLauncher;
import org.eclipse.cdt.remote.internal.core.Activator;
@@ -112,6 +113,7 @@ public class RemoteCommandLauncher implements ICommandLauncher {
private final Properties fEnvironment = new Properties();
public RemoteCommandLauncher() {
+ this.fLocalLauncher = new CommandLauncher();
}
public RemoteCommandLauncher(ICommandLauncher localLauncher) {

Back to the top