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(a)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(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>