java.lang.NullPointerException: Repository 425985 not found in build

Atlassian JIRA | Sultan Maiyaki [Atlassian] | 4 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

    If a plan is originally configured with CVS repository and at other time, we intend to change the repository type to say Git, the build will fail with an NPE as shown below: {noformat} 2013-02-05 21:59:03,618 WARN [7-BAM::Default Agent::Agent:pool-16-thread-1] [BuildAgentControllerImpl] Error occurred while executing the build for TESTA-CVS-JOB1-10 java.lang.NullPointerException: Repository 425985 not found in build at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) at com.atlassian.bamboo.v2.build.task.CheckoutDirectoriesSnapshotHelper.<init>(CheckoutDirectoriesSnapshotHelper.java:75) 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:722) {noformat} This is not the case with other repository types e.g SVN to Git. *worakround* Deleting the cache and build directory followed by a restart does not solve the issue. Cloning the plan or creating a brand new one with same config works.

    Atlassian JIRA | 4 years ago | Sultan Maiyaki [Atlassian]
    java.lang.NullPointerException: Repository 425985 not found in build
  2. 0

    If a plan is originally configured with CVS repository and at other time, we intend to change the repository type to say Git, the build will fail with an NPE as shown below: {noformat} 2013-02-05 21:59:03,618 WARN [7-BAM::Default Agent::Agent:pool-16-thread-1] [BuildAgentControllerImpl] Error occurred while executing the build for TESTA-CVS-JOB1-10 java.lang.NullPointerException: Repository 425985 not found in build at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) at com.atlassian.bamboo.v2.build.task.CheckoutDirectoriesSnapshotHelper.<init>(CheckoutDirectoriesSnapshotHelper.java:75) 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:722) {noformat} This is not the case with other repository types e.g SVN to Git. *worakround* Deleting the cache and build directory followed by a restart does not solve the issue. Cloning the plan or creating a brand new one with same config works.

    Atlassian JIRA | 4 years ago | Sultan Maiyaki [Atlassian]
    java.lang.NullPointerException: Repository 425985 not found in build
  3. 0

    Bamboo Nunit test exception

    Stack Overflow | 1 year ago | bobpat
    java.lang.NullPointerException: Capability
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception attempting to run MSTest Runner with MSTest 2012. - Atlassian Answers

    atlassian.com | 1 month ago
    java.lang.NullPointerException: Capability
  6. 0

    How to find Docker REST API URI for Jenkins

    Stack Overflow | 10 months ago | pcsram
    java.lang.NullPointerException: uri was not specified

  1. Indri Yunita 3 times, last 5 days ago
  2. jstrayer 1 times, last 6 days ago
  3. Andreas Häber 1 times, last 3 weeks ago
  4. xiaokangwang 1 times, last 2 months ago
  5. stigkj 2 times, last 3 months ago
16 more registered users
48 unregistered visitors
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. java.lang.NullPointerException

    Repository 425985 not found in build

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
    1 frame
  3. com.atlassian.bamboo
    NamedThreadFactory$2.run
    1. com.atlassian.bamboo.v2.build.task.CheckoutDirectoriesSnapshotHelper.<init>(CheckoutDirectoriesSnapshotHelper.java:75)
    2. com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareCheckoutDirectories(InitializeBuild.java:102)
    3. com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:84)
    4. com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:51)
    5. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)
    6. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
    7. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)
    8. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
    8 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)
    1 frame