com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Atlassian JIRA | Andre Borzzatto [Atlassian] | 1 year ago
  1. 0

    Backing up a Confluence Cloud instance and importing this backup into another Cloud instance (both same version) causes a lot of errors to be thrown in the logs and the import does not complete. *Steps to reproduce* # Generate a backup from any Cloud instance; # In another instance, try a Site Import. *Expected* The import completes without problems *Actual* The import fails with lots of different errors in the logs. _Examples_ {code} 2015-11-26 04:21:41.025326500 2015-11-26 04:21:41,024 ERROR [scheduler_Worker-9] [atlassian.crowd.directory.DbCachingDirectoryPoller] pollChanges Error occurred while refreshing the cache for directory [ 65537 ]. 2015-11-26 04:21:41.025328500 org.springframework.orm.hibernate.HibernateSystemException: Batch update row count wrong: 0; nested exception is net.sf.hibernate.HibernateException: Batch update row count wrong: 0 2015-11-26 04:21:41.025329500 at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) 2015-11-26 04:21:41.025335500 at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:353) 2015-11-26 04:21:41.025336500 at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375) 2015-11-26 04:21:41.025336500 at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) 2015-11-26 04:21:41.025339500 at com.atlassian.crowd.embedded.hibernate2.HibernateGroupDao.internalFindByName(HibernateGroupDao.java:359) {code} {code} 2015-11-26 04:21:41.020406500 2015-11-26 04:21:41,019 ERROR [scheduler_Worker-9] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session {code} {code} 2015-11-26 04:18:11.594125500 2015-11-26 04:18:11,593 ERROR [pool-22-thread-1] [usermanagement.client.impl.AbstractUserProvisioningSynchronizer] doSynchronize The Application Link between {0} and Horde does not exist, unable to synchronise config {code} {code} 2015-11-26 04:17:43.733896500 2015-11-26 04:17:43,733 ERROR [setup:thread-1] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'org.randombits.storage.confluence' 2015-11-26 04:17:43.735604500 2015-11-26 04:17:43,735 ERROR [setup:thread-1] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'org.randombits.support.confluence' {code} {code} 2015-11-26 04:21:36.109789500 2015-11-26 04:21:36,108 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import 2015-11-26 04:21:36.109790500 -- referer: https://aborzzatto.atlassian.net/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: aborzzatto | action: doimportconfluencesite 2015-11-26 04:21:36.109791500 com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015-11-26 04:21:36.109799500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-11-26 04:21:36.109799500 at java.lang.reflect.Method.invoke(Method.java:497) {code}

    Atlassian JIRA | 1 year ago | Andre Borzzatto [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  2. 0

    Backing up a Confluence Cloud instance and importing this backup into another Cloud instance (both same version) causes a lot of errors to be thrown in the logs and the import does not complete. *Steps to reproduce* # Generate a backup from any Cloud instance; # In another instance, try a Site Import. *Expected* The import completes without problems *Actual* The import fails with lots of different errors in the logs. _Examples_ {code} 2015-11-26 04:21:41.025326500 2015-11-26 04:21:41,024 ERROR [scheduler_Worker-9] [atlassian.crowd.directory.DbCachingDirectoryPoller] pollChanges Error occurred while refreshing the cache for directory [ 65537 ]. 2015-11-26 04:21:41.025328500 org.springframework.orm.hibernate.HibernateSystemException: Batch update row count wrong: 0; nested exception is net.sf.hibernate.HibernateException: Batch update row count wrong: 0 2015-11-26 04:21:41.025329500 at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) 2015-11-26 04:21:41.025335500 at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:353) 2015-11-26 04:21:41.025336500 at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375) 2015-11-26 04:21:41.025336500 at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) 2015-11-26 04:21:41.025339500 at com.atlassian.crowd.embedded.hibernate2.HibernateGroupDao.internalFindByName(HibernateGroupDao.java:359) {code} {code} 2015-11-26 04:21:41.020406500 2015-11-26 04:21:41,019 ERROR [scheduler_Worker-9] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session {code} {code} 2015-11-26 04:18:11.594125500 2015-11-26 04:18:11,593 ERROR [pool-22-thread-1] [usermanagement.client.impl.AbstractUserProvisioningSynchronizer] doSynchronize The Application Link between {0} and Horde does not exist, unable to synchronise config {code} {code} 2015-11-26 04:17:43.733896500 2015-11-26 04:17:43,733 ERROR [setup:thread-1] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'org.randombits.storage.confluence' 2015-11-26 04:17:43.735604500 2015-11-26 04:17:43,735 ERROR [setup:thread-1] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'org.randombits.support.confluence' {code} {code} 2015-11-26 04:21:36.109789500 2015-11-26 04:21:36,108 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import 2015-11-26 04:21:36.109790500 -- referer: https://aborzzatto.atlassian.net/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: aborzzatto | action: doimportconfluencesite 2015-11-26 04:21:36.109791500 com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015-11-26 04:21:36.109799500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-11-26 04:21:36.109799500 at java.lang.reflect.Method.invoke(Method.java:497) {code}

    Atlassian JIRA | 1 year ago | Andre Borzzatto [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  3. 0

    h3. Summary Confluence admin is not able to create new group in Confluence instance should one of the User Directories in that instance is problematic. h3. Steps to Reproduce # Add one External LDAP User Directory (_Read Only with Local Groups_) in your Confluence instance and make sure that you can connect to this LDAP server and retrieved users and groups from this LDAP server. # Add another External LDAP User Directory (_Read Only with Local Groups_) in your instance. However, please ensure that this directory is problematic (e.g. synchronisation would kept on failing/Base DN does not actually exist). # Navigate to *Confluence Administration panel >> User management >> Groups* and try to add a local group by clicking _Add Group_. h3. Expected Results Confluence admin would be able to create local group successfully. h3. Actual Results Confluence admin is not able to create local group successfully with the errors shown in the attached screenshot displayed in the Confluence UI. {code} Failed to create the group 'admins'. Check your server logs for more information {code} The following appears in Atlassian-Confluence.log: {code} 2016-01-11 14:55:59,181 ERROR [ajp-nio-8009-exec-2464] [confluence.user.actions.BrowseGroupsAction] doAdd Failed to create group: admins -- referer: <base_url>/admin/users/browsegroups.action | url: /admin/users/creategroup.action | userName: admin | action: creategroup com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' at com.atlassian.confluence.user.DefaultUserAccessor.createGroup(DefaultUserAccessor.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' {code} Where *'OU=sydney,DC=confluence,DC=atlassian'* is the base DN of the problematic user directory h3. Workaround Disable/Delete the problematic User Directory before recreating group

    Atlassian JIRA | 1 year ago | Lauretha Rura [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary Confluence admin is not able to create new group in Confluence instance should one of the User Directories in that instance is problematic. h3. Steps to Reproduce # Add one External LDAP User Directory (_Read Only with Local Groups_) in your Confluence instance and make sure that you can connect to this LDAP server and retrieved users and groups from this LDAP server. # Add another External LDAP User Directory (_Read Only with Local Groups_) in your instance. However, please ensure that this directory is problematic (e.g. synchronisation would kept on failing/Base DN does not actually exist). # Navigate to *Confluence Administration panel >> User management >> Groups* and try to add a local group by clicking _Add Group_. h3. Expected Results Confluence admin would be able to create local group successfully. h3. Actual Results Confluence admin is not able to create local group successfully with the errors shown in the attached screenshot displayed in the Confluence UI. {code} Failed to create the group 'admins'. Check your server logs for more information {code} The following appears in Atlassian-Confluence.log: {code} 2016-01-11 14:55:59,181 ERROR [ajp-nio-8009-exec-2464] [confluence.user.actions.BrowseGroupsAction] doAdd Failed to create group: admins -- referer: <base_url>/admin/users/browsegroups.action | url: /admin/users/creategroup.action | userName: admin | action: creategroup com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' at com.atlassian.confluence.user.DefaultUserAccessor.createGroup(DefaultUserAccessor.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' {code} Where *'OU=sydney,DC=confluence,DC=atlassian'* is the base DN of the problematic user directory h3. Workaround Disable/Delete the problematic User Directory before recreating group

    Atlassian JIRA | 1 year ago | Lauretha Rura [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'

    Root Cause Analysis

    1. com.atlassian.confluence.user.UserManagementOperationFailedException

      com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist 2015-11-26 04:21:36.109796500 at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:188) 2015-11-26 04:21:36.109796500 at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488) 2015-11-26 04:21:36.109797500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-11-26 04:21:36.109798500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke()
    2. Java RT
      Method.invoke
      1. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2. java.lang.reflect.Method.invoke(Method.java:497)
      2 frames