Error Pop Up "java.lang.NullPointerException" when Viewing or Creating Identity Audit Rules with Error "Unable to fetch rules:" in the Logs

(Doc ID 2316683.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

In the Self Service console, when you navigate to Compliance then select Identity Audit > Rules an error popup is seen with "java.lang.NullPointerException"

The log file at $DOMAIN_HOME/servers/OIMMANAGEDSERVER/logs/OIMMANAGEDSERVER-diagnostic.log shows an error with "Unable to fetch rules:" and will also show a warning with "Cannot initialize data provider - java.lang.NullPointerException", an incident error with"oracle.iam.platform.entitymgr.UnsupportedOperationException: java.lang.NullPointerException" and another warning with "ADF: Adding the following JSF error message: java.lang.NullPointerException" and "oracle.iam.ui.platform.exception.OIMRuntimeException: java.lang.NullPointerException"

If notification level logging is enabled, you'll also see messages with "Can not find user xelsysadm in configured Identity Store."  The full stack is like:

[2017-10-04T13:18:47.541-06:00] [WLS_OIM1] [NOTIFICATION] [] [oracle.adf.share.security.providers.jps.JpsUtil] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 94b59f0c6ca38200:6ad42d4:15ee8b653fe:-8000-00000000000020b4,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] [DSID: 0000LvclMf^E4UO_UhP5ic1PpImW000009] Can not find user xelsysadm in configured Identity Store.
...

[2017-10-04T13:18:48.856-06:00] [WLS_OIM1] [WARNING] [] [oracle.iam.platform.entitymgr.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 94b59f0c6ca38200:6ad42d4:15ee8b653fe:-8000-00000000000020b4,0] [APP: oim#11.1.2.0.0] [DSID: 0000LvclMf^E4UO_UhP5ic1PpImW000009] 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.findEntities(EntityManagerImpl.java:1070)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntities(EntityManagerImpl.java:1057)
at sun.reflect.GeneratedMethodAccessor1422.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
...
]]

[2017-10-04T13:18:48.873-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 94b59f0c6ca38200:6ad42d4:15ee8b653fe:-8000-00000000000020b4,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] [DSID: 0000LvclMf^E4UO_UhP5ic1PpImW000009] Unable to fetch rules:

...

[2017-10-04T13:18:48.875-06:00] [WLS_OIM1] [INCIDENT_ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 94b59f0c6ca38200:6ad42d4:15ee8b653fe:-8000-00000000000020b4,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] [DSID: 0000LvclMf^E4UO_UhP5ic1PpImW000009] [[
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.GeneratedMethodAccessor1422.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)
... 386 more

]]
[2017-10-04T13:18:50.711-06:00] [WLS_OIM1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 94b59f0c6ca38200:6ad42d4:15ee8b653fe:-8000-00000000000020b4,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] [DSID: 0000LvclMf^E4UO_UhP5ic1PpImW000009] ADF: Adding the following JSF error message: java.lang.NullPointerException[[
oracle.iam.ui.platform.exception.OIMRuntimeException: java.lang.NullPointerException
at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:178)
at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:66)
at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:413)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:425)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:480)
at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:423)
at oracle.adf.model.binding.DCIteratorBinding.executeQuery(DCIteratorBinding.java:2230)
at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:624)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._handleAutoExec(FacesCtrlSearchBinding.java:2774)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._performOneTimeActions(FacesCtrlSearchBinding.java:2987)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl.<init>(FacesCtrlSearchBinding.java:2266)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryModel(FacesCtrlSearchBinding.java:373)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:5797)
at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
at javax.el.MapELResolver.getValue(MapELResolver.java:196)
...
]]

After clearing the popup error from the steps above, if you then select the Create button from the Identity Audit > Rules tab, another error popup is seen with "java.lang.NullPointerException".

When this occurs, the log files will show the same error, notification and warning threads as above which may repeat in a rolling fashion.

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