My Oracle Support Banner

Modify Grant Duration Of An Account Throws Error IAM-40600019 (Doc ID 3057794.1)

Last updated on NOVEMBER 07, 2024

Applies to:

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

Symptoms

In case of the following issue:
1. Select an account which is Enabled
2. Modify grant duration - set end date to some value
3. Disable account
4. Modify grant duration - remove end date -> set to blank throws:


IAM-40600019 : An error occurred in oracle.iam.provisioning.handlers.ModifyAppInstanceAccountActionHandler while modifying account with key 1xxxx associated to user with key 3xxx and the cause of the error is An error occurred in oracle.iam.provisioning.spi.DOBProvisioningMechanism/modify while modifying account with account id 1xxxx for user CIyyyy and the cause of error is null.
--
java.lang.NullPointerException
at com.thortech.xl.dataobj.APIUtils.getTemporalGrantStatus(APIUtils.java:1536)
at com.thortech.xl.dataobj.APIUtils.setAccountStartAndEndDate(APIUtils.java:1461)
at oracle.iam.provisioning.spi.DOBProvisioningUtil.setAccountStartAndEndDate(DOBProvisioningUtil.java:3778)
at oracle.iam.provisioning.spi.DOBProvisioningMechanism.modify(DOBProvisioningMechanism.java:304)
..



The following workaround will resolve the issue:
1. Select an account which is Enabled
2. Modify grant duration - set end date to some value
3. Disable account
4. Modify grant duration - set end date to some other value - do not remove/set to blank
5. Modify grant duration - remove end date is now working

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
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.