com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository

Atlassian JIRA | David Corley | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We've cloned a few jobs across plans where the job uses the default plan repository. When we attempt to use the job in the new plan, we get something along the lines of: {noformat} com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:84) at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:48) at com.atlassian.bamboo.task.repository.RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(RepositoryTaskHelper.java:129) at com.atlassian.bamboo.v2.build.task.InitializeBuild$CheckoutDirectoriesSnapshotHelper.<init>(InitializeBuild.java:221) at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareCheckoutDirectories(InitializeBuild.java:128) at com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:110) at com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:77) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662) {noformat} When cloning jobs across plans where the jobs use the plan default repo there should be one of the following done: # The user is prompted to select a repo from the destination plan as a replacement for the default repo from the original # The repository is reset automatically when the job is created in the destination plan

    Atlassian JIRA | 5 years ago | David Corley
    com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository
  2. 0

    We've cloned a few jobs across plans where the job uses the default plan repository. When we attempt to use the job in the new plan, we get something along the lines of: {noformat} com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:84) at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:48) at com.atlassian.bamboo.task.repository.RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(RepositoryTaskHelper.java:129) at com.atlassian.bamboo.v2.build.task.InitializeBuild$CheckoutDirectoriesSnapshotHelper.<init>(InitializeBuild.java:221) at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareCheckoutDirectories(InitializeBuild.java:128) at com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:110) at com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:77) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:662) {noformat} When cloning jobs across plans where the jobs use the plan default repo there should be one of the following done: # The user is prompted to select a repo from the destination plan as a replacement for the default repo from the original # The repository is reset automatically when the job is created in the destination plan

    Atlassian JIRA | 5 years ago | David Corley
    com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository
  3. 0

    We're tripping up on this with Bamboo integrating shared repositories with our Stash Git instance. The build plans seem to be losing information about the repository. We are also using the planned branches feature Bamboo server running Git 1.7.9 on w2k8 Agent running Centos 6.3 with Git 1.7.1 {noformat} System Error Details Build Internet - CI - IIP Applications - release-ps59 - Update Branch For Development 10 : Error occurred while executing the build for INTERNET-CIAPPS5-UPDATEBRANCHFORDEV-10 (com.atlassian.bamboo.repository.RepositoryDefinitionException : Task failed since repository with id 2097199 does not exist. It may have been deleted, please update the task and pick a new repository) Occurred: 26 Mar 2013, 6:08:30 PM Agent: uldcin001.auiag.corp com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 2097199 does not exist. It may have been deleted, please update the task and pick a new repository at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:87) at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:51) at com.atlassian.bamboo.task.repository.RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(RepositoryTaskHelper.java:129) at com.atlassian.bamboo.v2.build.task.CheckoutDirectoriesSnapshotHelper.<init>(CheckoutDirectoriesSnapshotHelper.java:109) at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareCheckoutDirectories(InitializeBuild.java:102) at com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:84) at com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:51) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 4 years ago | Bryce Johnson
    com.atlassian.bamboo.repository.RepositoryDefinitionException: Task failed since repository with id 2097199 does not exist. It may have been deleted, please update the task and pick a new repository
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.bamboo.repository.RepositoryDefinitionException

      Task failed since repository with id 123456789 does not exist. It may have been deleted, please update the task and pick a new repository

      at com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply()
    2. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:84)
      2. com.atlassian.bamboo.repository.RepositoryFunctions$IdSelectorToRepositoryDefinition.apply(RepositoryFunctions.java:48)
      3. com.atlassian.bamboo.task.repository.RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(RepositoryTaskHelper.java:129)
      4. com.atlassian.bamboo.v2.build.task.InitializeBuild$CheckoutDirectoriesSnapshotHelper.<init>(InitializeBuild.java:221)
      5. com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareCheckoutDirectories(InitializeBuild.java:128)
      6. com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:110)
      7. com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:77)
      8. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:202)
      9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      10. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
      11. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      11 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame