Problem getting diff information for revXXXX: Unexpected line in overall diff

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

Symptoms

Incremental indexing an SVN repository (when using the Native Subversion Client) cause Fisheye to fail with the following error:

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 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

Cause

This is caused by a problem with the Native Subversion Client.

Resolution

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:

    1 <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 the Subversion Client configuration empty:

    (Auto-migrated image: description temporarily unavailable)

Restart Fisheye after saving all changes.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.