Problem getting diff information for revXXXX: Unexpected line in overall diff
症状
Incremental indexing an SVN repository (when using the Native Subversion Client) cause Fisheye to fail with the following error:
2012-06-18 11:31:03,385 ERROR [IncrementalPinger1 <REPOSITORY>] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo <REPOSITORY> due to class com.cenqua.fisheye.rep.DbException - Problem getting diff information for revXXXX
com.cenqua.fisheye.rep.DbException: Problem getting diff information for revXXXX
at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:418)
at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:255)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:223)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:182)
at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:379)
at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.cenqua.fisheye.svn.diff.SvnDiffException: Exception processing diff for revision XXXX
at com.cenqua.fisheye.svn.diff.DiffProcessor.processMessage(DiffProcessor.java:296)
at com.cenqua.fisheye.svn.diff.DiffFetcher.process(DiffFetcher.java:64)
at com.cenqua.fisheye.svn.diff.DiffFetcher.run(DiffFetcher.java:45)
... 1 more
Caused by: com.cenqua.fisheye.svn.diff.SvnDiffParsingException: Unexpected line in overall diff
at com.cenqua.fisheye.svn.diff.SvnDiffParser.reportError(SvnDiffParser.java:141)
at com.cenqua.fisheye.svn.diff.SvnDiffParser.process(SvnDiffParser.java:161)
at com.cenqua.fisheye.svn.diff.DiffProcessor.processPathSet(DiffProcessor.java:114)
at com.cenqua.fisheye.svn.diff.DiffProcessor.doCombinedDiffs(DiffProcessor.java:373)
at com.cenqua.fisheye.svn.diff.DiffProcessor.getRequiredInfo(DiffProcessor.java:320)
at com.cenqua.fisheye.svn.diff.DiffProcessor.processMessage(DiffProcessor.java:281)
... 3 more
原因
This is caused by a problem with the Native Subversion Client.
ソリューション
Fisheye's configuration need to be changed to use the bundled SVNKit instead of the Native Subversion Client. This can be done in two different ways:
Open
<FishEye Installation Directory>/config.xml
and remove the following line:<svn-config jar="\subversion\lib\svn-javahl.jar" jnilib="\subversion\lib\libsvnjavahl-1.dll"/>
Login to Fisheye and go to:
Administration
>Global Settings
>Server
and leave theSubversion Client
configuration empty:
Restart Fisheye after saving all changes.
最終更新日 2018 年 7 月 31 日
Powered by Confluence and Scroll Viewport.