An unexpected error occurred: failed to lazily initialize a collection of role: sailpoint.object.Identity.links, could not initialize proxy - no Session
I believe this is the root cause of lifecycle state transaction not going through. Whenever i try to change the lifecycle state, as per the provisioning policy mentioned in identity profiles, it should disable/enable the account. It is not getting triggered. In the account activity i see that the lifecycle state change account activity is pending for ever.
Hi Nilesh,
Can you share the screenshot of the configuration done for Disable Account on the Web Service Connector ? Also, have you tested the Disable Operation directly in Postman and it works fine ?
Yes. the create/disable/enable operations work in Postman. I just now tried to assign a role to a user that should create an account in the source. Got the same error.
Same, we tried to clone the source config and re-tried but same issue was observed. We tried to perform a full identity refresh, full system role refresh but no luck. I’m doubtful if this has something to do with issue with Web Services connector behind the scenes.
Here is the latest observation. The account is created in the source. However there is no event generated for Create Account for the identity. This does not trigger “Provisioning completed” event which is used in workflows to send emails. The access request still has the same error.
Please raise a Sailpoint ticket, I raised it two days back. Its been referred to their engineering team. Please mention this topic while raising the ticket to let them know that others are also facing the same issue.
I assume you are getting the same error on Webservices connector.
These Lazy Initialization errors are Hibernate errors that were usually caused by an account being decached improperly when they happened in IIQ.
Given that you don’t handle the identity directly in your code, it is likely there is something going on internally that is causing the process to close the session before the identity is done. Do you have a custom Before/After operations on your webservice connector (Assuming this is the DIrect Connector and not SaaS) that you are modifying data?
I would recommend that anyone with this issue create a Support Ticket with SailPoint to get this looked at since it seems to be happening with multiple accounts.