getAccountsProvisionedToUser causing StackOverFlow

(Doc ID 2316695.1)

Last updated on OCTOBER 11, 2017

Applies to:

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

Symptoms

A prepopulate event handler need in its logic to get access to the account data. 

To do that method getAccountsProvisionedToUser from the Interface ProvisioningService is used passing true as argument for parameter populateAccountData.
A simplified example of the code could be the following

 

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