Symptoms
Created a new role in OIM and an authorization policy under 'Role Management' for this role. This policy has three permissions: View_Role_Membership, Search_for_Role and View_Role_Detail. When login as a user (who has this role assigned), they are able to search for role and view its details. But when trying to open 'View Members' tab, it throws an ADF exception (java.lang.NullPointerException).
OIM log shows the following:
[oim_server1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ACCESSRIGHTAMINUSER] [ecid: e106ac6f78fd3267:21d3f052:139953cbc8f:-8000-0000000000001e3f,0] [APP: oim#11.1.1.3.0] ADF_FACES-60096:Server Exception during PPR, #1[[
javax.el.ELException: java.lang.NullPointerException
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
at org.apache.myfaces.trinidad.component.UIXShowDetail.broadcast(UIXShowDetail.java:154)
Root Cause:
The root cause is missing permissions for the end user to search the organization details.
Solution
1. Login as System Administrator
2. Go to Administration and search for the organization.
3. Open the organization details.
4. Click "Administrative Roles".
5. Click "Assign".
6. Choose either "ALL USERS" or your custom role, set the permissions as you wish and click "Assign".
References:
Doc ID 1491104.1