com.atlassian.crowd.exception.GroupNotFoundException: Group <koalas> does not exist

Atlassian JIRA | Diego Berrueta | 3 years ago
  1. 0

    h2. Steps to reproduce # In LDAP, create a user 'mofli' and add him to group 'koalas'. # Create a LDAP connector directory in Crowd, synchronise the directory. # In Crowd, navigate to view the groups user 'mofli' is in. Crowd should report 'mofli' is a member of 'koalas'. # In the LDAP server, remove group 'koalas'. # Back in Crowd, *before sync happens*, remove membership of 'mofli' to 'koalas'. h2. Expected behaviour Crowd reacts gracefully, and either informs about the problem, or eventually reports that the operation has been 'done'. In any case, 'mofli' should not be a member of 'koalas' anymore. h2. Observed behaviour Crowd reports 'Update successful', but still shows that 'mofli' is a member of 'koalas'. A stacktrace appears in the logs: {noformat} 2013-09-11 09:27:57,329 http-bio-8095-exec-6 ERROR [console.action.principal.UpdateGroups] Group <koalas> does not exist com.atlassian.crowd.exception.GroupNotFoundException: Group <koalas> does not exist at com.atlassian.crowd.directory.SpringLDAPConnector.findGroupWithAttributesByName(SpringLDAPConnector.java:1122) at com.atlassian.crowd.directory.SpringLDAPConnector.findGroupByName(SpringLDAPConnector.java:1104) at com.atlassian.crowd.directory.MicrosoftActiveDirectory.removeUserFromGroup(MicrosoftActiveDirectory.java:234) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.removeUserFromGroup(DbCachingRemoteDirectory.java:776) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeUserFromGroup(DirectoryManagerGeneric.java:824) ... at com.atlassian.crowd.console.action.principal.UpdateGroups.doRemoveGroups(UpdateGroups.java:64) {noformat} h2. Notes * The problem can also be reproduced by renaming the group in LDAP. * The membership eventually disappears when the directory is synchronised again (FULL sync).

    Atlassian JIRA | 3 years ago | Diego Berrueta Munoz
    com.atlassian.crowd.exception.GroupNotFoundException: Group <koalas> does not exist
  2. 0

    h2. Steps to reproduce # In LDAP, create a user 'mofli' and add him to group 'koalas'. # Create a LDAP connector directory in Crowd, synchronise the directory. # In Crowd, navigate to view the groups user 'mofli' is in. Crowd should report 'mofli' is a member of 'koalas'. # In the LDAP server, remove group 'koalas'. # Back in Crowd, *before sync happens*, remove membership of 'mofli' to 'koalas'. h2. Expected behaviour Crowd reacts gracefully, and either informs about the problem, or eventually reports that the operation has been 'done'. In any case, 'mofli' should not be a member of 'koalas' anymore. h2. Observed behaviour Crowd reports 'Update successful', but still shows that 'mofli' is a member of 'koalas'. A stacktrace appears in the logs: {noformat} 2013-09-11 09:27:57,329 http-bio-8095-exec-6 ERROR [console.action.principal.UpdateGroups] Group <koalas> does not exist com.atlassian.crowd.exception.GroupNotFoundException: Group <koalas> does not exist at com.atlassian.crowd.directory.SpringLDAPConnector.findGroupWithAttributesByName(SpringLDAPConnector.java:1122) at com.atlassian.crowd.directory.SpringLDAPConnector.findGroupByName(SpringLDAPConnector.java:1104) at com.atlassian.crowd.directory.MicrosoftActiveDirectory.removeUserFromGroup(MicrosoftActiveDirectory.java:234) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.removeUserFromGroup(DbCachingRemoteDirectory.java:776) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeUserFromGroup(DirectoryManagerGeneric.java:824) ... at com.atlassian.crowd.console.action.principal.UpdateGroups.doRemoveGroups(UpdateGroups.java:64) {noformat} h2. Notes * The problem can also be reproduced by renaming the group in LDAP. * The membership eventually disappears when the directory is synchronised again (FULL sync).

    Atlassian JIRA | 3 years ago | Diego Berrueta
    com.atlassian.crowd.exception.GroupNotFoundException: Group <koalas> does not exist
  3. 0

    Group does not exist

    Stack Overflow | 2 years ago | Grigory Silantyev
    com.atlassian.crowd.exception.GroupNotFoundException: Group does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm using Crowd 2.8 to import users from our legacy Jira system into a Crowd internal directory. The users and groups from Jira are migrated, but the group memberships do not (i.e. the groups in Crowd are empty). In Crowd's catalina.out I see: 2015-05-13 15:49:56,244 http-bio-8095-exec-4 INFO [crowd.importer.importers.BaseImporter] Importing 1019 users. 2015-05-13 15:50:02,856 http-bio-8095-exec-4 INFO [crowd.importer.importers.BaseImporter] Importing user-to-group member ships. 2015-05-13 15:50:02,862 http-bio-8095-exec-4 ERROR [crowd.importer.importers.BaseImporter] Could not add memberships for group 'disaster-planning-committee' as it does not exist in directory with ID: 4096002 com.atlassian.crowd.exception.GroupNotFoundException: Group <disaster-planning-committee> does not exist at com.atlassian.crowd.dao.group.GroupDAOHibernate.findByName(GroupDAOHibernate.java:158) at com.atlassian.crowd.dao.group.GroupDAOHibernate.findByName(GroupDAOHibernate.java:46) at com.atlassian.crowd.directory.AbstractInternalDirectory.findGroupByName(AbstractInternalDirectory.java:783) at com.atlassian.crowd.directory.AbstractInternalDirectory.findGroupByName(AbstractInternalDirectory.java:64) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.findGroupByName(DirectoryManagerGeneric.java:48 4) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addAllUsersToGroup(DirectoryManagerGeneric.java :1323) .... I see a "Could not add memberships for group ..." line for (presumably) every group we've imported. Of course, at the end of the import process, I would expect to have all the users and groups and their memberships represented in the Crowd directory. Many thanks for allowing us to directly create bugs in your system!

    Atlassian JIRA | 2 years ago | Elliot Metsger
    com.atlassian.crowd.exception.GroupNotFoundException: Group <disaster-planning-committee> does not exist

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.crowd.exception.GroupNotFoundException

      Group <koalas> does not exist

      at com.atlassian.crowd.directory.SpringLDAPConnector.findGroupWithAttributesByName()
    2. com.atlassian.crowd
      DirectoryManagerGeneric.removeUserFromGroup
      1. com.atlassian.crowd.directory.SpringLDAPConnector.findGroupWithAttributesByName(SpringLDAPConnector.java:1122)
      2. com.atlassian.crowd.directory.SpringLDAPConnector.findGroupByName(SpringLDAPConnector.java:1104)
      3. com.atlassian.crowd.directory.MicrosoftActiveDirectory.removeUserFromGroup(MicrosoftActiveDirectory.java:234)
      4. com.atlassian.crowd.directory.DbCachingRemoteDirectory.removeUserFromGroup(DbCachingRemoteDirectory.java:776)
      5. com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeUserFromGroup(DirectoryManagerGeneric.java:824)
      5 frames