com.atlassian.bamboo.repository.RepositoryException: PR - Default

Atlassian JIRA | Ajay Sridhar [Atlassian] | 10 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 the SVN:Externals is pointing to a revision number. Bamboo throws the exception below {code} 007-08-14 13:49:05,304 INFO [BAM::BuildChangeDetector] [SvnRepository] Checking externals for DEF 2007-08-14 13:49:05,882 INFO [BAM::BuildChangeDetector] [SvnRepository] Externals revision for externals/test: LOCAL: 52 HEAD: 72 2007-08-14 13:49:08,445 INFO [BAM::BuildChangeDetector] [SvnRepository] Updating Subversion to pick up any svn:externals changes 2007-08-14 13:49:08,742 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] 2007-08-14 13:49:09,179 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] Fetching external item into 'D:\bamboo\bamboo-home\xml-data\build-dir\PR-DEF\externals\test' 2007-08-14 13:49:09,179 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] External at revision -1 2007-08-14 13:49:09,257 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] externals/test 2007-08-14 13:49:09,273 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] At revision 52 2007-08-14 13:49:12,101 INFO [BAM::BuildChangeDetector] [DefaultErrorHandler] Recording error: Failed to get the build source code : PR - Default com.atlassian.bamboo.repository.RepositoryException: PR - Default at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:459) at com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(PollingBuildStrategy.java:128) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:170) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:118) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:81) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Unknown Source) Caused by: org.tmatesoft.svn.core.SVNException: svn: Externals update failed - local revision does not match expected revision. at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:422) ... 7 more {code} Originally discussed in BAM-1158, however raising a bug report due to [BSP-215|https://support.atlassian.com/browse/BSP-215].

    Atlassian JIRA | 10 years ago | Ajay Sridhar [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: PR - Default
  2. 0

    If the SVN:Externals is pointing to a revision number. Bamboo throws the exception below {code} 007-08-14 13:49:05,304 INFO [BAM::BuildChangeDetector] [SvnRepository] Checking externals for DEF 2007-08-14 13:49:05,882 INFO [BAM::BuildChangeDetector] [SvnRepository] Externals revision for externals/test: LOCAL: 52 HEAD: 72 2007-08-14 13:49:08,445 INFO [BAM::BuildChangeDetector] [SvnRepository] Updating Subversion to pick up any svn:externals changes 2007-08-14 13:49:08,742 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] 2007-08-14 13:49:09,179 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] Fetching external item into 'D:\bamboo\bamboo-home\xml-data\build-dir\PR-DEF\externals\test' 2007-08-14 13:49:09,179 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] External at revision -1 2007-08-14 13:49:09,257 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] externals/test 2007-08-14 13:49:09,273 INFO [BAM::BuildChangeDetector] [UpdateEventHandler] At revision 52 2007-08-14 13:49:12,101 INFO [BAM::BuildChangeDetector] [DefaultErrorHandler] Recording error: Failed to get the build source code : PR - Default com.atlassian.bamboo.repository.RepositoryException: PR - Default at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:459) at com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(PollingBuildStrategy.java:128) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:170) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:118) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:81) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Unknown Source) Caused by: org.tmatesoft.svn.core.SVNException: svn: Externals update failed - local revision does not match expected revision. at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:422) ... 7 more {code} Originally discussed in BAM-1158, however raising a bug report due to [BSP-215|https://support.atlassian.com/browse/BSP-215].

    Atlassian JIRA | 10 years ago | Ajay Sridhar [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: PR - Default

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNException

      svn: Externals update failed - local revision does not match expected revision.

      at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild()
    2. com.atlassian.bamboo
      NamedThreadFactory$1.run
      1. com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:422)
      2. com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(PollingBuildStrategy.java:128)
      3. com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:170)
      4. com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:118)
      5. com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:81)
      6. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31)
      6 frames
    3. Backport of JSR 166
      ThreadHelpers$1.run
      1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame