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

tnisan at redhat.com tnisan at redhat.com
Tue Jul 19 12:01:48 UTC 2016


Tal Nisan 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/61002
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I13171aaa1df7582d3cd5d27dc50f6e6faed18910
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan 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