My Oracle Support Banner

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 SEPTEMBER 12, 2023

Applies to:

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


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:

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.


At some point, you've upgraded your environment from a version lower than OIM


To view full details, 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 a vibrant support community of peers and Oracle experts.