NullPointerExceptions when Creating, Opening or Viewing Rules for Self Service, Home Org or Workflows in the System Administration Console with Error "Unable to fetch rules:" and Others in the Log

(Doc ID 2316698.1)

Last updated on OCTOBER 12, 2017

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

NullPointerExceptions are seen from several Rule related activities in the System Administration user interface.

  1. From System Administration select Workflows >Approval to open the Approval Workflow Rules tab. Select one of the rules on the page and see an error popup with "java.lang.NullPointerException"

  2. From the Approval Workflow Rules tab, hit the Create button. The Create Workflow Rule tab opens with an "java.lang.NullPointerException" error popup with an added popup and information message "Enter any alphanumeric string between 1 and 256 characters."

  3. Continuing from item 2, hit the OK and All buttons to clear the popups, fill out the rule details and hit the Create button on the Approval Workflow Rules tab. Another error popup with "Validation Failed: java.lang.NullPointerException" is shown.

  4. From System Administration select System Configuration >Home Organization Policy to open the Home Organization Policy tab. Hit Create and the Add Home Org Policy Rule tab opens with an "java.lang.NullPointerException" error popup with an added popup and information message "Enter any alphanumeric string between 1 and 256 characters."

  5. Continuing from item 4, hit the OK and All buttons to clear the popups, fill out the rule details and hit the Create button on the Add Home Org Policy Rule tab. Another error popup with "Validation Failed: java.lang.NullPointerException" is shown.

  6. From System Administration select System Configuration >Self Service Capabilities to open the Self Service Capabilities tab. Hit Create and the Add Self Service Capability tab opens with an "java.lang.NullPointerException" error popup with an added popup and information message "Enter any alphanumeric string between 1 and 256 characters."

  7. Continuing from item 6, hit the OK and All buttons to clear the popups, fill out the rule details and hit the Create button on the Add Self Service Capability tab. Another error popup with "Validation Failed: java.lang.NullPointerException" is shown.

In each of these cases, the log file at $DOMAIN_HOME/servers/OIMMANAGEDSERVER/logs/OIMMANAGEDSERVER-diagnostic.log will show several warnings with "Cannot initialize data provider - java.lang.NullPointerException", similar to:

[2017-10-05T09:22:56.459-06:00] [WLS_OIM1] [WARNING] [] [oracle.iam.platform.entitymgr.impl] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d26d,0] [APP: oim#11.1.2.0.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] Cannot initialize data provider - java.lang.NullPointerException[[
at oracle.iam.platform.entitymgr.impl.EntityManagerConfigImpl.getDataProvider(EntityManagerConfigImpl.java:309)
at oracle.iam.platform.entitymgr.impl.EntityManagerConfigImpl.getDataProvider(EntityManagerConfigImpl.java:323)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:296)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:823)
at sun.reflect.GeneratedMethodAccessor1629.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
]]

For items 1-3 regarding the errors in the Approval Workflow Rules or the Create Workflow Rule tabs, the log file at $DOMAIN_HOME/servers/OIMMANAGEDSERVER/logs/OIMMANAGEDSERVER-diagnostic.log will show errors with "oracle.iam.platform.entitymgr.exception.EntitySearchException: java.lang.NullPointerException", "Unable to fetch rules:" and "oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException." These are like:

**Error when selecting an existing Workflow Rule from the Approval Workflow Rules tab***
------------------------------------------------------------------------------------------------
[2017-10-05T12:49:27.262-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b007223fe536c6ca:25068535:15eedd72178:-8000-0000000000001a85,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000LvhrAtLE4UO_UhP5ic1Ppbmo00000A] Exception while searching workflow policies[[
oracle.iam.platform.entitymgr.exception.EntitySearchException: java.lang.NullPointerException
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:347)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:261)
at oracle.iam.policyengine.api.PolicyManager_akknkt_PolicyManagerRemoteImpl_1036_WLStub.getRulesAssignedToPolicyx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:310)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:823)
at sun.reflect.GeneratedMethodAccessor1506.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.isCapable(RDBMSDataProvider.java:326)
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.getCapability(RDBMSDataProvider.java:133)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:300)
... 183 more

]]

**Error when the Create Workflow Rule tab opens***
------------------------------------------------------------------------------------------------
[2017-10-05T12:51:04.123-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b007223fe536c6ca:25068535:15eedd72178:-8000-0000000000001b05,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000LvhrAtLE4UO_UhP5ic1Ppbmo00000A] Unable to fetch rules:

[2017-10-05T12:51:04.342-06:00] [WLS_OIM1] [INCIDENT_ERROR] [DFW-40104] [oracle.dfw.incident] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b007223fe536c6ca:25068535:15eedd72178:-8000-0000000000001b05,0] [errid: 92] [detailLoc: /opt/oracle/Middleware/user_projects/domains/iam_domain/servers/WLS_OIM1/adr/diag/ofm/iam_domain/WLS_OIM1/incident/incdir_92] [probKey: DFW-99999 [WLS_OIM1][oracle.iam]] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000LvhrAtLE4UO_UhP5ic1Ppbmo00000A] incident 92 created with problem key "DFW-99999 [WLS_OIM1][oracle.iam]"

[2017-10-05T12:51:04.124-06:00] [WLS_OIM1] [INCIDENT_ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b007223fe536c6ca:25068535:15eedd72178:-8000-0000000000001b05,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000LvhrAtLE4UO_UhP5ic1Ppbmo00000A] [[
oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:310)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1070)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1057)
at sun.reflect.GeneratedMethodAccessor1472.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.isCapable(RDBMSDataProvider.java:326)
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.getCapability(RDBMSDataProvider.java:133)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:300)
... 393 more

]]

**Error when hitting Create from the Create Workflow Rule tab***
------------------------------------------------------------------------------------------------
[2017-10-05T12:56:57.011-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b007223fe536c6ca:25068535:15eedd72178:-8000-0000000000001c60,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000LvhrAtLE4UO_UhP5ic1Ppbmo00000A] Validation Failed: java.lang.NullPointerException[[
oracle.iam.platform.entitymgr.exception.ValidationFailedException: java.lang.NullPointerException
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:347)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:261)
at oracle.iam.policyengine.api.RuleManager_ass925_RuleManagerRemoteImpl_1036_WLStub.createx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:310)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1070)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1057)
at sun.reflect.GeneratedMethodAccessor1472.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.isCapable(RDBMSDataProvider.java:326)
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.getCapability(RDBMSDataProvider.java:133)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:300)
... 155 more

]]

For items 4-7 regarding the errors in the Add Home Org Policy Rule or the Add Self Service Capability tabs, the log file at $DOMAIN_HOME/servers/OIMMANAGEDSERVER/logs/OIMMANAGEDSERVER-diagnostic.log will show errors with "oracle.iam.ui.platform.exception.OIMRuntimeException: Error occurred while loading User Home Organization policy-type", "Unable to fetch rules:" and "oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException".  For example, looking at the messages for Home Organization Policy, these are like:

**Error when opening the Home Organization Policy tab (select Home Organization Policy)***
------------------------------------------------------------------------------------------------
[2017-10-05T09:22:56.507-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d26d,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] [[
oracle.iam.ui.platform.exception.OIMRuntimeException: Error occurred while loading User Home Organization policy-type
at oracle.iam.ui.organization.view.backing.HomeOrgPolicyBean.fetchRules(HomeOrgPolicyBean.java:432)
at oracle.iam.ui.organization.view.backing.HomeOrgPolicyBean.initializePolicyTypeID(HomeOrgPolicyBean.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
]]

**Error when hitting Create/New from the Home Organization Policy tab***'
------------------------------------------------------------------------------------------------
[2017-10-05T09:23:09.638-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d277,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] Unable to fetch rules:
...
[2017-10-05T09:23:09.887-06:00] [WLS_OIM1] [INCIDENT_ERROR] [DFW-40104] [oracle.dfw.incident] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d277,0] [errid: 89] [detailLoc: /opt/oracle/Middleware/user_projects/domains/iam_domain/servers/WLS_OIM1/adr/diag/ofm/iam_domain/WLS_OIM1/incident/incdir_89] [probKey: DFW-99999 [WLS_OIM1][oracle.iam]] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] incident 89 created with problem key "DFW-99999 [WLS_OIM1][oracle.iam]"
...
[2017-10-05T09:23:09.640-06:00] [WLS_OIM1] [INCIDENT_ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d277,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] [[
oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:310)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1070)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1057)
at sun.reflect.GeneratedMethodAccessor1456.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.isCapable(RDBMSDataProvider.java:326)
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.getCapability(RDBMSDataProvider.java:133)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:300)
... 393 more

]]

**Error when hitting Create to Create the Rule from the Add Home Org Policy Rule tab***
------------------------------------------------------------------------------------------------
[2017-10-05T09:28:22.658-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: b0f71bdad17154a2:-703e7baf:15ee9778aa2:-8000-000000000000d409,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000Lvh8MYVE4UO_UhP5ic1PpLsN00000I] Validation Failed: java.lang.NullPointerException[[
oracle.iam.platform.entitymgr.exception.ValidationFailedException: java.lang.NullPointerException
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:347)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:261)
at oracle.iam.policyengine.api.RuleManager_ass925_RuleManagerRemoteImpl_1036_WLStub.createx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:310)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:289)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1070)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1057)
at sun.reflect.GeneratedMethodAccessor1456.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
Caused by: java.lang.NullPointerException
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.isCapable(RDBMSDataProvider.java:326)
at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSDataProvider.getCapability(RDBMSDataProvider.java:133)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(EntityManagerImpl.java:300)
... 155 more

]]

Changes

At some point, the environment has been upgraded to version 11.1.2.3.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms