Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1065524

Summary: NullPointerException when assigning permission to ComplementaryRolePrincipal
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: BAMAssignee: Roger Martínez <romartin>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: kverlaen, pzapataf, rrajasek
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:02:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log showing NullPointerException
none
Steps to reproduce - video none

Description Jan Hrcek 2014-02-14 20:51:46 UTC
Created attachment 863428 [details]
server.log showing NullPointerException

Description of problem:
When you are assigning permissions to complement of some role (e.g. prohibit something to all roles except to role admin) the role is not assigned, because NullPointerException is thrown. Observe an example with steps to reproduce in the video.

Version-Release number of selected component (if applicable):
BPMS 6.0.1 ER1

How reproducible:
Always

Steps to Reproduce:
1. Try to assign some permission with "reverse" checkbox under role select checked

Actual results:
The permission is not assigned and NPE appears in the server.log

Expected results:
The reverse permission added successfully.b

Comment 1 Jan Hrcek 2014-02-14 20:55:43 UTC
Created attachment 863429 [details]
Steps to reproduce - video

Comment 4 Jan Hrcek 2014-03-06 08:52:06 UTC
Ok, verified with BPMS 6.0.1 ER2