Change in ovirt-engine[master]: core: fix possible NPE

ahadas at redhat.com ahadas at redhat.com
Mon Apr 11 09:03:20 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: fix possible NPE
......................................................................


core: fix possible NPE

Theoretically, the VM in the parameters might be null in the
ImportVmFromConfiguration command and the tests simulate this case.
Therefore, adding a protection.

Change-Id: I3a149358d731dcd272bbc57b72dba74481908b9d
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ImportVmFromConfigurationCommand.java
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Arik Hadas: Verified



-- 
To view, visit https://gerrit.ovirt.org/55941
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3a149358d731dcd272bbc57b72dba74481908b9d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list