This commit is contained in:
Lee moon soo 2016-04-09 09:38:24 +09:00
parent 94b490d76c
commit bd0f467d23

View file

@ -217,7 +217,8 @@ public class HeliumApplicationFactory implements ApplicationEventListener, Noteb
throw new ApplicationException("No interpreter found");
}
RemoteInterpreterProcess intpProcess = intp.getInterpreterGroup().getRemoteInterpreterProcess();
RemoteInterpreterProcess intpProcess =
intp.getInterpreterGroup().getRemoteInterpreterProcess();
if (intpProcess == null) {
throw new ApplicationException("Target interpreter process is not running");
}
@ -303,7 +304,8 @@ public class HeliumApplicationFactory implements ApplicationEventListener, Noteb
throw new ApplicationException("No interpreter found");
}
RemoteInterpreterProcess intpProcess = intp.getInterpreterGroup().getRemoteInterpreterProcess();
RemoteInterpreterProcess intpProcess =
intp.getInterpreterGroup().getRemoteInterpreterProcess();
if (intpProcess == null) {
throw new ApplicationException("Target interpreter process is not running");
}