diff options
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/ServerEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/LiveDeployment/ServerEditor.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/ServerEditor.java b/java/src/IceGridGUI/LiveDeployment/ServerEditor.java index 7dd3cee2c8b..bf87427cd80 100755 --- a/java/src/IceGridGUI/LiveDeployment/ServerEditor.java +++ b/java/src/IceGridGUI/LiveDeployment/ServerEditor.java @@ -71,8 +71,12 @@ class ServerEditor extends CommunicatorEditor { public void actionPerformed(ActionEvent e) { - _coordinator.openLiveApplication(_application.getText()).getRoot(). - selectServer(((Node)_target.getParent()).getId(), _target.getId()); + ApplicationPane app = _coordinator.openLiveApplication(_application.getText()); + if(app != null) + { + app.getRoot(). + selectServer(((Node)_target.getParent()).getId(), _target.getId()); + } } }; gotoApplication.putValue(Action.SHORT_DESCRIPTION, |