Martin Betak has submitted this change and it was merged.
Change subject: webadmin: possible NPE in VdcActionUtils
......................................................................
webadmin: possible NPE in VdcActionUtils
In some rare cases the VdcActionUtils.canExecute can receive entities == null
causing NPE.
Fixed by a simple null check since the null entity can not execute any actions
on it.
Change-Id: I47c7694928ad40dda6840e526964dcf78555ad66
Bug-Url:
https://bugzilla.redhat.com/1324066
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcActionUtils.java
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Tomas Jelinek: Verified
Jenkins CI: Passed CI tests
Martin Betak: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/57719
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I47c7694928ad40dda6840e526964dcf78555ad66
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>