Capture Snapshot data fails with StackOverflowError
search cancel

Capture Snapshot data fails with StackOverflowError


Article ID: 92572


Updated On:


CA Identity Manager CA Identity Governance CA Identity Portal


User Roles Report capture Snapshot data failed as following:
ERROR [com.netegrity.ims.exception.EventExecuteStateException] (Thread-36827) Exception: : java.lang.reflect.InvocationTargetException 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_71] 
Caused by: java.lang.StackOverflowError 
at Method) [rt.jar:1.8.0_71] 
at [picketbox-4.0.21.Final.jar:4.0.21.Final]


Observed with IM r14.1.0 as a virtual Appliance implementation on CentOS.


A server log in DEBUG mode for "ims" category showed a huge abnormal activity in term of number of debug lines for a triggered access role object and ending with the java.lang.StackOverflowError.
It appeared as a loop.
Reviewing the definition of this particular access role showed a wrong Member Policy Rule definition.

This issue was caused by a Member Policy Rule of one access role "xxxxxxxx" which was: 
who are members of ( access role "xxxxxxxx" ) 
So the members of this access role were the members of this access role. 
This was a recursive definition that caused a loop and so the java.lang.StackOverflowError.


Reviewed the Member Policy Rule setting to make sense.