Change in ovirt-engine[master]: webadmin: NPE in VmInterfaceInfoPanel

tjelinek at redhat.com tjelinek at redhat.com
Mon Mar 9 14:41:11 UTC 2015


Tomas Jelinek has submitted this change and it was merged.

Change subject: webadmin: NPE in VmInterfaceInfoPanel
......................................................................


webadmin: NPE in VmInterfaceInfoPanel

The AbstractNullableNumberColumn has to be able to process null values
but it failed on NPE when the VmNetworkInterface was null (happens on the load
of the VM -> network interfaces subtab).

Fixed by simple null check - the renderer than renders null as N/A.

Change-Id: If0b6e68254eb112ddb45b17eb79772b2af9b6a0e
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/vm/VmInterfaceInfoPanel.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Tomas Jelinek: Verified
  Lior Vernia: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If0b6e68254eb112ddb45b17eb79772b2af9b6a0e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list