My Oracle Support Banner

Certifying Access Policy Using the REST API Throws HTTP Error 5000 : java.lang.NullPointerException (Doc ID 2746110.1)

Last updated on JANUARY 22, 2021

Applies to:

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

Symptoms

A reviewer gets a Role Certification to certify/revoke the access policy associated to a role

 

 

On using the REST API to certify the access policy

OIM returns an HTTP 500 Internal Server Error

 

and the following exception is thrown in the OIM diagnostic logs:

 

 

[2021-01-22T06:29:20.584-07:00] [XXXX] [ERROR] [] [oracle.iam.rest] [tid: [ACTIVE].ExecuteThread: 'XX' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XXXX] [ecid: XXXX] [APP: oim] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: XXXX] Exception[[

java.lang.NullPointerException

        at java.util.ArrayList.<init>(ArrayList.java:178)

        at oracle.iam.certification.impl.CertificationServiceImpl.updateSelectedRolePolicyStatus(CertificationServiceImpl.java:2379)

 

...

        at com.sun.proxy.$Proxy683.updateSelectedRolePolicyStatus(Unknown Source)

        at oracle.iam.certification.api.CertificationServiceEJB.updateSelectedRolePolicyStatusx(Unknown Source)

        at oracle.iam.certification.api.CertificationService_dttq4n_CertificationServiceRemoteImpl.__WL_invoke_1(Unknown Source)

        at oracle.iam.certification.api.CertificationService_dttq4n_CertificationServiceRemoteImpl.__WL_invoke(Unknown Source)

 

...

        at com.sun.proxy.$Proxy380.updateSelectedRolePolicyStatusx(Unknown Source)

        at oracle.iam.certification.api.CertificationServiceDelegate.updateSelectedRolePolicyStatus(Unknown Source)

        at oracle.iam.rest.client.services.CertificationOperationsImpl.updateRoleCertificationPolicyLineItemDetails(CertificationOperationsImpl.java:1614)

        at oracle.iam.rest.adapter.CertificationConverterImpl.updateCertificationLineItemByLineItemId(CertificationConverterImpl.java:3448)

        at oracle.iam.rest.self.services.CertificationImpl.updateCertificationLineItemByLineItemId(CertificationImpl.java:168)

 

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.