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

Atlassian JIRA | Sultan Maiyaki [Atlassian] | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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

    How to find Docker REST API URI for Jenkins

    Stack Overflow | 8 months ago | pcsram
    java.lang.NullPointerException: uri was not specified
  6. 0

    Error running GPW - OpenNLP

    GitHub | 2 years ago | joeferner
    java.lang.NullPointerException: visibilityJson cannot be null

  1. stigkj 2 times, last 2 weeks ago
  2. fervidnerd 1 times, last 2 months ago
  3. batwalrus76 3 times, last 3 months ago
  4. musketyr 2 times, last 5 months ago
  5. Nikolay Rybak 6 times, last 6 months ago
12 more registered users
47 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