svn: E204900: Path is not canonicalized; there is a problem with the client.

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

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

atlassian-fisheye-yyyy-MM-dd.log に次のメッセージが出力される。

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)


原因

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.

回避策

Configure Fisheye to use Native Subversion Client

ソリューション

Upgrade your Subversion server to a more recent version.

最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.