Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-10-19 03:50:09 -0400
committerUwe Stieber2013-10-19 04:09:18 -0400
commit53b46eaf3710a615a861d550c2eeaaf63967d073 (patch)
tree07616ebc6274d962beb97e3b525ee5a19707859c /target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core
parentd84aa12eedc04dc9c582f89015a0ec86554ba796 (diff)
downloadorg.eclipse.tcf-53b46eaf3710a615a861d550c2eeaaf63967d073.tar.gz
org.eclipse.tcf-53b46eaf3710a615a861d550c2eeaaf63967d073.tar.xz
org.eclipse.tcf-53b46eaf3710a615a861d550c2eeaaf63967d073.zip
Target Explorer: Fix NPE
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/model/runtime/services/RuntimeModelRefreshService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/model/runtime/services/RuntimeModelRefreshService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/model/runtime/services/RuntimeModelRefreshService.java
index ed2964127..94ce299a0 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/model/runtime/services/RuntimeModelRefreshService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/model/runtime/services/RuntimeModelRefreshService.java
@@ -424,7 +424,7 @@ public class RuntimeModelRefreshService extends AbstractModelService<IRuntimeMod
if (context != null) node.setProperty(IProcessContextNodeProperties.PROPERTY_NAME, context.getName());
- if (serviceV1 != null) {
+ if (serviceV1 != null && context != null) {
serviceV1.getCapabilities(context.getID(), new IProcessesV1.DoneGetCapabilities() {
@Override
public void doneGetCapabilities(IToken token, Exception error, Map<String, Object> properties) {

Back to the top