mirror of https://github.com/apache/cloudstack.git
findbugs: possible nullpointer
This commit is contained in:
parent
4485dcb374
commit
43a39d1eb0
|
|
@ -1075,7 +1075,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
|||
}
|
||||
}
|
||||
s_logger.info("Unable to start VM on " + dest.getHost() + " due to " + (startAnswer == null ? " no start answer" : startAnswer.getDetails()));
|
||||
if (startAnswer.getContextParam("stopRetry") != null) {
|
||||
if (startAnswer != null && startAnswer.getContextParam("stopRetry") != null) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue