java.lang.IllegalArgumentException: Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository]

Atlassian JIRA | Matt Ryall | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Logging in to the second node in a cluster fails because of an problem in the LDAP group cache (GroupCache). The following exception is written to the logs: java.lang.IllegalArgumentException: Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository] at com.atlassian.user.impl.hibernate.HibernateGroupManager.validateGroupAndUser(HibernateGroupManager.java:507) at com.atlassian.user.impl.hibernate.HibernateGroupManager.hasMembership(HibernateGroupManager.java:490) at com.atlassian.user.impl.delegation.DelegatingListGroupManager.hasMembership(DelegatingListGroupManager.java:219) at bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:468) at bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:491) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy16.hasMembership(Unknown Source) at com.atlassian.confluence.util.GeneralUtil.isSuperUser(GeneralUtil.java:793)

    Atlassian JIRA | 1 decade ago | Matt Ryall
    java.lang.IllegalArgumentException: Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository]
  2. 0

    Logging in to the second node in a cluster fails because of an problem in the LDAP group cache (GroupCache). The following exception is written to the logs: java.lang.IllegalArgumentException: Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository] at com.atlassian.user.impl.hibernate.HibernateGroupManager.validateGroupAndUser(HibernateGroupManager.java:507) at com.atlassian.user.impl.hibernate.HibernateGroupManager.hasMembership(HibernateGroupManager.java:490) at com.atlassian.user.impl.delegation.DelegatingListGroupManager.hasMembership(DelegatingListGroupManager.java:219) at bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:468) at bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:491) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy16.hasMembership(Unknown Source) at com.atlassian.confluence.util.GeneralUtil.isSuperUser(GeneralUtil.java:793)

    Atlassian JIRA | 1 decade ago | Matt Ryall
    java.lang.IllegalArgumentException: Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Group unknown: [com.atlassian.user.impl.cache.GroupCache$1@502a39] in [hibernateRepository]

      at com.atlassian.user.impl.hibernate.HibernateGroupManager.validateGroupAndUser()
    2. com.atlassian.user
      DelegatingListGroupManager.hasMembership
      1. com.atlassian.user.impl.hibernate.HibernateGroupManager.validateGroupAndUser(HibernateGroupManager.java:507)
      2. com.atlassian.user.impl.hibernate.HibernateGroupManager.hasMembership(HibernateGroupManager.java:490)
      3. com.atlassian.user.impl.delegation.DelegatingListGroupManager.hasMembership(DelegatingListGroupManager.java:219)
      3 frames
    3. bucket.user
      DefaultUserAccessor.hasMembership
      1. bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:468)
      2. bucket.user.DefaultUserAccessor.hasMembership(DefaultUserAccessor.java:491)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
      2 frames
    8. Unknown
      $Proxy16.hasMembership
      1. $Proxy16.hasMembership(Unknown Source)
      1 frame
    9. com.atlassian.confluence
      GeneralUtil.isSuperUser
      1. com.atlassian.confluence.util.GeneralUtil.isSuperUser(GeneralUtil.java:793)
      1 frame