'java.lang.IllegalArgumentException Group passed to HibernateGroupManager must be of type DefaultHibernateGroup' when Deleting a Group

Symptoms

Deleting a group fails with an error like the following:

java.lang.IllegalArgumentException: Group passed to HibernateGroupManager must be of type 'DefaultHibernateGroup'
at com.atlassian.user.impl.hibernate.HibernateGroupManager.getMemberNames(HibernateGroupManager.java:180)
Stack Trace:

java.lang.IllegalArgumentException: Group passed to HibernateGroupManager must be of type 'DefaultHibernateGroup'
at com.atlassian.user.impl.hibernate.HibernateGroupManager.getMemberNames(HibernateGroupManager.java:180)
at com.atlassian.user.impl.cache.CachingGroupManager.getMemberNames(CachingGroupManager.java:205)
at com.atlassian.user.impl.cache.CachingGroupManager.removeGroup(CachingGroupManager.java:146)

Cause

When performing a migration, there are duplicate groups in the LDAP and local hibernate repositories.

Resolution

  1. Rename or delete the duplicate group in LDAP.
  2. Repopulate the Confluence cache (restart or go to Administration >> Cache Statistics >> Flush Cache >> Advanced >> Flush All).

   

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport