Errors When Trying to Add or Index a Repository - non-existent in revision

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

An error occurs when trying to add or index a repository.

The following appears in the atlassian-fisheye-YYYY-MM-DD.log:

Example 1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ERROR [pool-4-thread-1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo %SVN_URL% due to class com.cenqua.fisheye.rep.DbException - Problem getting diff information for rev109 com.cenqua.fisheye.rep.DbException: Problem getting diff information for rev109 at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:399) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:451) at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:354) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:277) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:210) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:80) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:68) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:35) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.cenqua.fisheye.svn.diff.SvnDiffException: Exception processing diff for revision 109 at com.cenqua.fisheye.svn.diff.DiffProcessor.processMessage(DiffProcessor.java:293) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:394) ... 13 more Caused by: com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: URL '%SVN_URL%/%PATH/TO/FILE%' non-existent in revision '109' at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:118) at com.cenqua.fisheye.svn.diff.MessageInfo.getInfo(MessageInfo.java:128) at com.cenqua.fisheye.svn.diff.MessageInfo.getInfo(MessageInfo.java:110)

The %SVN_URL% represents the URL defined in Administration > Repository Settings > Repositories (click on the repository name) and then under SCM Details > SVN URL. The example error above shows the problem occurred for revision 109, but it could be a different revision.

Example 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ERROR [InitialPinger1 test_repo] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo test_repo due to class com.cenqua.fisheye.rep.RepositoryClientException - org.tigris.subversion.javahl.ClientException: svn: E170000: URL 'file://localhost/mnt/svn/test_repo/branches/test_branch/test_file.test_file' non-existent in revision 5,233 com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: E170000: URL 'file://localhost/mnt/svn/test_repo/branches/test_branch/test_file.test_file' non-existent in revision 5,233 at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:163) at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:132) at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:99) at com.atlassian.fisheye.svn.Svn2Infill2Processor.getInfo(Svn2Infill2Processor.java:380) at com.atlassian.fisheye.svn.Svn2Infill2Processor.infillChangeSet(Svn2Infill2Processor.java:186) at com.atlassian.fisheye.svn.Svn2Infill2Processor.access$100(Svn2Infill2Processor.java:77) at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:120) at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:109) at com.cenqua.fisheye.cache.BaseRevisionCache.withDbWriteLock(BaseRevisionCache.java:967) at com.atlassian.fisheye.svn.Svn2Infill2Processor.process(Svn2Infill2Processor.java:109) at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:210) at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:177) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:85) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:408) at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:25) at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:58) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:228) at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:59) at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:185) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.tigris.subversion.javahl.ClientException: svn: E170000: URL 'file://localhost/mnt/svn/test_repo/branches/test_branch/test_file.test_file' non-existent in revision 5,233 at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:785) at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1890) at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2233) at com.cenqua.fisheye.svn.SvnThrottledClient$1.call(SvnThrottledClient.java:103) at com.cenqua.fisheye.svn.SvnThrottledClient$1.call(SvnThrottledClient.java:100) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:32) ... 3 more Caused by: org.tmatesoft.svn.core.SVNException: svn: E170000: URL 'file://localhost/mnt/svn/test_repo/branches/test_branch/test_file.test_file' non-existent in revision 5,233 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:124) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:31) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291) at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2272) at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2243) at org.tmatesoft.svn.core.javahl.SVNClientImpl.info2(SVNClientImpl.java:2224) ... 8 more

Cause

Possible causes include:

  • Cause #1 - This can be caused by an incorrectly defined SVN URL – specifically if the SVN URL hasn't be set equal to the repository root. For example: SVN URL = http://example.atlassian.com/svn/projects/acme/trunk and "Path" = "", however the repository root for the repository is actually http://example.atlassian.com/svn and "Path" should be "projects/acme".

  • Cause #2 - This can be caused by corrupt indexes within the Fisheye application.

  • Cause #3 - The path identified as non-existent was created in the revision which is being set as Start Revision. If the option Initial Import is set as Import without tag information when the Start Revision is set, Fisheye will import the repository content as it existed one revision prior to the Start Revision, causing the conflict.

Resolution

Resolution for Cause #1:

  • Determine the correct SVN URL. To find the repository root (and thus what should be set as SVN URL) run the following command:

1  svn info SVN_URL

Where SVN_URL is the complete URL of the repository or a file in the repository

The output should be similar to the following:

1 2 3 4 5 6 7 8 9 10 11 svn info http://example.atlassian.com/svn/projects/acme/trunk/README.TXT Path: README.TXT URL: http://example.atlassian.com/svn/projects/acme/trunk/README.TXT Repository Root: http://example.atlassian.com/svn Repository UUID: ce062a09-193b-427a-a7b3-a85007076e5d Revision: 83 Node Kind: directory Last Changed Author: bbunny Last Changed Rev: 83 Last Changed Date: 2009-05-07 10:48:41 +1000 (Thu, 07 May 2009)

Set the "SVN URL" as in "Repository Root" and set the "Path" (in Fisheye) to the remaining before trunk as in the example below:

(Auto-migrated image: description temporarily unavailable)

Resolution for Cause #2:

Rebuild the repository index in Fisheye:

These actions will cause the entire repository to be re-indexed.

  1. Shut down Fisheye.

  2. Remove the contents of the <FISHEYE_INST>/var/cache/<Repo_Name> folder.

  3. Start Fisheye.

Resolution for Cause #3:

These actions will cause the entire repository to be re-indexed.

  1. Go to Administration >> Repositories and click in the repository name.

  2. In the left panel go to SCM Details.

  3. Under SVN Options set the option Initial Import to Do not import and click in Save. You will be prompted to re-index the repository.

Updated on April 16, 2025

Still need help?

The Atlassian Community is here for you.