Fisheye indexing fails throwing IllegalArgumentException: null source due to unsupported SVN version
Symptoms
Fisheye throws a java.lang.IllegalArgumentException: null source
while indexing a SVN repository.
The following appears in the atlassian-fisheye.log
:
2013-01-01 00:00:00,000 ERROR [IncrementalPinger3 <repository_name>] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo <repository_name> due to class com.cenqua.fisheye.rep.RepositoryClientException - java.lang.IllegalArgumentException: null source
com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalArgumentException: null source
at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:176)
at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:145)
at com.cenqua.fisheye.svn.SvnThrottledClient.diffSummarize(SvnThrottledClient.java:215)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.summarizeDiff(Svn2Infill2Processor.java:285)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.getDiffSummary(Svn2Infill2Processor.java:271)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.infillChangeSet(Svn2Infill2Processor.java:191)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.access$100(Svn2Infill2Processor.java:81)
at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:124)
at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:113)
at com.cenqua.fisheye.cache.BaseRevisionCache.withDbWriteLock(BaseRevisionCache.java:1036)
at com.atlassian.fisheye.svn.Svn2Infill2Processor.process(Svn2Infill2Processor.java:113)
at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:209)
at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:178)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:82)
at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86)
at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:399)
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:51)
at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:218)
at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57)
at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:174)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(Unknown Source)
at org.apache.subversion.javahl.DiffSummary.<init>(DiffSummary.java:61)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getDiffSummary(SVNClientImpl.java:1923)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.access$800(SVNClientImpl.java:168)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl$9.receive(SVNClientImpl.java:1954)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl$9.receive(SVNClientImpl.java:1944)
at org.tmatesoft.svn.core.wc2.SvnReceivingOperation.receive(SvnReceivingOperation.java:78)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize$2.handleDiffStatus(SvnNgDiffSummarize.java:371)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnDiffSummarizeCallback.sendSummary(SvnDiffSummarizeCallback.java:101)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnDiffSummarizeCallback.fileChanged(SvnDiffSummarizeCallback.java:46)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnDiffCallbackWrapper.fileChanged(SvnDiffCallbackWrapper.java:33)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRemoteDiffEditor2.closeFile(SvnNgRemoteDiffEditor2.java:274)
at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeFile(SVNCancellableEditor.java:142)
at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.endElement(DAVEditorHandler.java:490)
at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandler.java:103)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:894)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:859)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:220)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:463)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:334)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1291)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.diff(DAVRepository.java:819)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.doDiffReposRepos(SvnNgDiffSummarize.java:272)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.doDiff(SvnNgDiffSummarize.java:86)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.run(SvnNgDiffSummarize.java:59)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.run(SvnNgDiffSummarize.java:23)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.diffSummarize(SVNClientImpl.java:1057)
at org.apache.subversion.javahl.SVNClient.diffSummarize(SVNClient.java:190)
at com.cenqua.fisheye.svn.SvnThrottledClient$4.call(SvnThrottledClient.java:219)
at com.cenqua.fisheye.svn.SvnThrottledClient$4.call(SvnThrottledClient.java:216)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:32)
Cause
An unsupported version of SVN is in use (probably 1.8).
You can check the SVN version by running the following from the command line in the Fisheye server:
svn --version
The supported versions can be checked in the Supported Platforms documentation.
Resolution
- Use a supported version of SVN, and restart the Fisheye instance after changing it.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.