Change in ovirt-engine[ovirt-engine-3.5]: core: Fix NPE when VM does not exists on register

tnisan at redhat.com tnisan at redhat.com
Tue Oct 7 19:26:27 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: core: Fix NPE when VM does not exists on register
......................................................................


core: Fix NPE when VM does not exists on register

Adding a null check if the VM sent in the parameters exists or not, to
prevent NPE.

Change-Id: I4fb846cc16d1d208f0b96a127169f717a3fec89e
Bug-Url: https://bugzilla.redhat.com/1148405
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4fb846cc16d1d208f0b96a127169f717a3fec89e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list