A repository cannot be indexed due to error svn E204900

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

A repository cannot be indexed due to error in some of the file paths.

The following appears in the atlassian-fisheye-yyyy-MM-dd.log

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 49 50 51 2017-06-27 15:30:20,347 WARN [InitPing2 SampleRepo ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repository SampleRepo due to class com.cenqua.fisheye.rep.RepositoryClientException - java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E204900: Path 'http://example.com/file.jpg' is not canonicalized; there is a problem with the client. svn: E175002: REPORT of '/SampleRepo/!svn/vcc/default': 400 Bad Request (http://example.com) com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E204900: Path 'http://example.com/file.png' is not canonicalized; there is a problem with the client. svn: E175002: REPORT of '/SampleRepo/!svn/vcc/default': 400 Bad Request (http://example) at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:189) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:158) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient.diff(SvnThrottledClient.java:214) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor.processDiffPaths(Svn2Infill2Processor.java:888) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor.infillChangeSet(Svn2Infill2Processor.java:272) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor.access$100(Svn2Infill2Processor.java:92) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:143) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:127) [fisheye.jar:?] at com.cenqua.fisheye.cache.BaseRevisionCache.withDbWriteLock(BaseRevisionCache.java:1074) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Infill2Processor.process(Svn2Infill2Processor.java:127) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Scanner.infillRepository(Svn2Scanner.java:233) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:219) [fisheye.jar:?] at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:184) [fisheye.jar:?] at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:73) [fisheye.jar:?] at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85) [fisheye.jar:?] at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:419) [fisheye.jar:?] at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:28) [fisheye.jar:?] at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30) [fisheye.jar:?] at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55) [fisheye.jar:?] at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) [fisheye.jar:?] at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52) [fisheye.jar:?] at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:211) [fisheye.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] Caused by: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E204900: Path 'http://example.com/file.png' is not canonicalized; there is a problem with the client. svn: E175002: REPORT of '/SampleRepo/!svn/vcc/default': 400 Bad Request (http://example.com) at java.lang.Throwable.initCause(Throwable.java:457) [?:1.8.0_131] at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1536) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] at org.tmatesoft.svn.core.javahl17.SVNClientImpl.diff(SVNClientImpl.java:1190) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] at org.tmatesoft.svn.core.javahl17.SVNClientImpl.diff(SVNClientImpl.java:1004) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] at org.apache.subversion.javahl.SVNClient.diff(SVNClient.java:203) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient$3.call(SvnThrottledClient.java:218) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient$3.call(SvnThrottledClient.java:215) [fisheye.jar:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at com.cenqua.fisheye.svn.SvnTask.access$101(SvnTask.java:13) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnTask$1.run(SvnTask.java:35) [fisheye.jar:?] at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:30) [fisheye.jar:?] ... 3 more Caused by: org.apache.subversion.javahl.ClientException: svn: E204900: Path 'http://example.com/file.png' is not canonicalized; there is a problem with the client. svn: E175002: REPORT of '/SampleRepo/!svn/vcc/default': 400 Bad Request (http://example.com) at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:117) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1535) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?] ... 13 more 2017-06-27 15:30:20,349 INFO [InitPing2 SampleRepo ] fisheye RepositoryEngine-startPause - Repository scanner paused. Error: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E204900: Path 'http://example.com/file.png' is not canonicalized; there is a problem with the client. svn: E175002: REPORT of '/SampleRepo/!svn/vcc/default': 400 Bad Request (http://example.com)

Cause

The issue is due to a SVN bug (fixed with Subversion 1.8.x) that does not properly canonicalise URIs before passing them to the client and generating the parsing error.

Workaround

Configure Fisheye to use Native Subversion Client

Resolution

Upgrade your Subversion server to a more recent version.

Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.