Daniel Erez has submitted this change and it was merged.
Change subject: core: NPE when executing RunVmOnceCommand from rest
......................................................................
core: NPE when executing RunVmOnceCommand from rest
RunVmOnceCommand -> reportCompleted:
'getParameters().getRunAndPause()' can be null when starting
a VM from the rest-api. Hence, an NPE is thrown.
['runAndPause' variable has been changed to Boolean in:
Ib1fe46a9946f7914095310ddac9ab1a9e5a6564b]
Change-Id: Id9a1b2b290c2c642ed3f1891582ac679a3a336c9
Bug-Url:
https://bugzilla.redhat.com/974999
Signed-off-by: Daniel Erez <derez(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmOnceCommand.java
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/16601
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id9a1b2b290c2c642ed3f1891582ac679a3a336c9
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server