We have a workflow where we are assigning 10 roles to 50 users, so the
total roles assignment will be 10*50=500.

After assigning 328 roles workflow is terminating with
java.lang.StackOverflowError in server.log

2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) Exception in
thread "pool-14-thread-1"
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
java.lang.ClassLoader.findLoadedClass(ClassLoader. java:1093)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
org.jboss.classloader.spi.base.BaseClassLoader.isL oadedClass(BaseClassLoader.java:328)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
org.jboss.classloader.spi.base.BaseClassLoader.loa dClass(BaseClassLoader.java:419)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
java.lang.ClassLoader.loadClass(ClassLoader.java:4 12)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
java.lang.ClassLoader.loadClass(ClassLoader.java:3 58)
2015-08-17 14:13:52,352 ERROR [STDERR] (pool-14-thread-1) at
com.novell.soa.script.mozilla.javascript.DefiningC lassLoader.loadClass(Unknown

We have increased java heap space from 4GB to 6GB to check if that helps
to resolve the issue. Even after increasing we are receiving same error
after assigning 328 roles.

Please let us know if there is any limitation of role assignment or
there is any fix for this.

Environment Details:
We are using IDM 4.0.2 and windows server 2008 R2, we are using the
default JBOSS that comes with the package and the userapp has been
applied public patch E. Java also upgraded to 1.7.

Thanks in advance,
Sushant Mundu

sushant123's Profile: https://forums.netiq.com/member.php?userid=10289
View this thread: https://forums.netiq.com/showthread.php?t=54101