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

Still need help?

The Atlassian Community is here for you.

Ask the community

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).

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.