Failed to lazily initialize a collection of role: sailpoint.object.Rule.referencedRules, could not initialize proxy - no Session

@pmr542 We are discussing the same thing here: Full Identity Refresh Task Fails with Below Errors - #5 by neel193

Could you please also confirm below items:

  • If you are passing any identity and application object completely as arguments to any custom method. Modify it to pass the names and get the object from context inside the method.

  • If you are doing commitTransaction(), that may also invalidate some of the objects in reference.. For this you should create a sub context and then make the changes followed by commitTransaction().

  • If you are decache(), that also may cause the issue. Please change it to decache(object).

Please check your codebase for such cases and make the necessary adjustments.

Please also refer to the document: https://community.sailpoint.com/t5/IdentityIQ-Forum/Request-for-Official-Guidance-Use-of-commitTransaction-Inside/m-p/277486/highlight/true#M198717