Change in ovirt-engine[master]: webadmin: NPE on new instance type dialog

tjelinek at redhat.com tjelinek at redhat.com
Mon Jul 18 11:14:30 UTC 2016


Tomas Jelinek has submitted this change and it was merged.

Change subject: webadmin: NPE on new instance type dialog
......................................................................


webadmin: NPE on new instance type dialog

The getOverrideMigrationPolicy().getEntity() may be null in some cases (new
instance type) causing a NPE in and if statement.

Fixed by having a null safe check.

Change-Id: I13171aaa1df7582d3cd5d27dc50f6e6faed18910
Bug-Url: https://bugzilla.redhat.com/1357440
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Verified
  Jenkins CI: Passed CI tests
  Martin Betak: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I13171aaa1df7582d3cd5d27dc50f6e6faed18910
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list