Change in ovirt-engine[master]: gluster: fix NPE in gluster volumes Tab.

sabose at redhat.com sabose at redhat.com
Wed May 18 08:50:51 UTC 2016


Sahina Bose has submitted this change and it was merged.

Change subject: gluster: fix NPE in gluster volumes Tab.
......................................................................


gluster: fix NPE in gluster volumes Tab.

  There is an NPE when we compare null > 0. This happens when
unsyncedEntries is null in volume bricks. So adding a null
check before using this for comparison.

Change-Id: I28a12bd37e30e35bdb722fe65e8a428e1cc097df
Signed-off-by: Ramesh Nachimuthu <rnachimu at redhat.com>
---
M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/utils/GlusterVolumeUtils.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationMessages.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/cell/BrickStatusCell.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/BrickStatusColumn.java
4 files changed, 6 insertions(+), 5 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Sahina Bose: Looks good to me, approved
  Ramesh N: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I28a12bd37e30e35bdb722fe65e8a428e1cc097df
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <rnachimu at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ramesh N <rnachimu at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list