JdkDynamicAopProxy.invoke() has thrown an IllegalStateException

java.lang.IllegalStateException
Javadoc
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. @author Jonni Kanerva @since JDK1.1
at com.atlassian.crowd.embedded.hibernate2.HibernateMembershipDao$1.doInHibernate
at org.springframework.orm.hibernate.HibernateTemplate.execute
at org.springframework.orm.hibernate.HibernateTemplate.execute
at com.atlassian.crowd.embedded.hibernate2.HibernateMembershipDao.internalFindUserMembership
at com.atlassian.crowd.embedded.hibernate2.HibernateMembershipDao.removeUserFromGroup
at com.atlassian.confluence.user.crowd.CachedCrowdMembershipDao.removeUserFromGroup
at com.atlassian.crowd.directory.AbstractInternalDirectory.removeUserFromGroup
at com.atlassian.crowd.directory.DbCachingRemoteChangeOperations.removeUserMembershipsForGroup
at sun.reflect.GeneratedMethodAccessor.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke
(source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(source)
16 frames hidden

Typical Exception Messages

  1. Found duplicate memberships for user in directory 2392065, group Test_group, user TestUser
  2. Found duplicate memberships for user in directory 7405569, group dcc_users, user JBaran

External results for this pattern (3)

  1. Morgana Spindler [Atlassian]via Atlassian JIRA4 months ago
    Found duplicate memberships for user in directory 7405569, group dcc_users, user JBaran
    Show stack trace
  2. Tiago Comasseto [Atlassian]via Atlassian JIRA4 months ago
    Found duplicate memberships for user in directory 2392065, group Test_group, user TestUser
    Show stack trace
  3. Tiago Comasseto [Atlassian]via Atlassian JIRA2 years ago
    Found duplicate memberships for user in directory 2392065, group Test_group, user TestUser
    Show stack trace