LazyInitialization Exception

Hi ,

can someone help me on the below error..

An unexpected error occurred: sailpoint.tools.GeneralException: The application script threw an exception: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: sailpoint.object.Identity.assignedRoles, could not initialize proxy - no Session BSF info: script at line: 0 column: columnNo

I am getting this error in Workflow rule where I am trying to read the role objects..

appreciate any suggestions..

Thanks
Prashanth

Hi [Prashanth RV],

Can you please add below loggers and reproduce the issue.

logger.BSFRuleRunner.name=sailpoint.server.BSFRuleRunner
logger.BSFRuleRunner.level=all
logger.IdentityRequestMaintenance.name=sailpoint.task.IdentityRequestMaintenance
logger.IdentityRequestMaintenance.level=trace

Please review and share the logs after reproducing the issue.

1 Like

Hi @PrashRV The LazyInitializationException can occur in several scenarios, such as when you attempt to save a complete object and pass it to another part of your code, when there is an index mismatch, or due to issues with full-text search. Please share your code and logs so we can investigate the issue further.

1 Like

@PrashRV if possible then post your rule.