Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3205

Import pushes users from local repository into crowd repository.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 4.0
    • None
    • None

    Description

      while bamboo imports backup data it tries to inject local hibernate users into the crowd repository.

      If bamboo is integrated with crowd (atlassian-user.xml) and if There are some residual users in bamboos local repository (hibernate) they are added (pushed) into crowd.
      179 13:44:25,059 INFO [STDOUT] 2008-11-13 13:44:25,052 ERROR [ajp-jbbamb.austrac.gov.au%2F127.0.0.43-8009-2] [ImportExportManagerImpl] Exception occurr
      179 ed during import
      180 com.atlassian.core.exception.InfrastructureException: com.atlassian.user.impl.DuplicateEntityException: User [aharvey] already exists in Crowd Repos
      180 itory
      181 at com.atlassian.bamboo.user.BambooUserManagerImpl.injectUser(BambooUserManagerImpl.java:434)
      182 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      183 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      184 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      185 at java.lang.reflect.Method.invoke(Method.java:585)
      186 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      187 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      188 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      etc.
      etc
      324 tion overridden by commit exception
      325 java.lang.Exception: Import has failed. Errors encountered while importing. This Bamboo instance may be corrupt.
      326 at com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:118)
      327 at com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:86)
      328 at com.atlassian.bamboo.buildqueue.manager.LocalAgentManagerImpl.executeIfIdle(LocalAgentManagerImpl.java:405)
      329 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      330 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      331 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      332 at java.lang.reflect.Method.invoke(Method.java:585)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ukuhnhardt Ulrich Kuhnhardt [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: