Change in ovirt-engine[master]: core : check getVm() return value to avoid NPE

derez at redhat.com derez at redhat.com
Thu Jan 3 14:26:22 UTC 2013


Daniel Erez has submitted this change and it was merged.

Change subject: core : check getVm() return value to avoid NPE
......................................................................


core : check getVm() return value to avoid NPE

getVm() can return null, which might cause to an NPE.

Change-Id: Id404b00d85ab327e2943ce8d37a6f6c30e76d2f5
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCommand.java
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10623
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id404b00d85ab327e2943ce8d37a6f6c30e76d2f5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>



More information about the Engine-commits mailing list