Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4679

ClassCastException with native SVN client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.0.1
    • 3.0.0
    • None
    • None

    Description

      The following exception is reported when indexing a svn repository with native svn client:

      2013-06-04 15:57:57,319 DEBUG [<SVN Repo>] fisheye SvnTask-run - Executing svn diff --summarize -r 32011:32012 <Base URL>/atlassian/svn/KDD@32012
      2013-06-04 15:57:57,887 DEBUG [<SVN Repo>] fisheye SvnTask-run - Executing svn proplist -r 32012 <Base URL>/atlassian/svn/KDD/AIRS/branches/kdd-airs-phase-3-opennlp/configuration/AIRS_HOME/conf/nlp/models/open/en-chunker-revised.bin@32012
      2013-06-04 15:57:58,222 DEBUG [IncrementalPinger6 <SVN Repo>] fisheye BaseRevisionCache-withDbWriteLock - Rolling back for priority 40
      2013-06-04 15:57:58,253 ERROR [IncrementalPinger6 <SVN Repo>] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo KDD due to class com.cenqua.fisheye.rep.RepositoryClientException - java.lang.ClassCastException: java.lang.String cannot be cast to [B
      com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B
      	at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:163)
      	at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:132)
      	at com.cenqua.fisheye.svn.SvnThrottledClient.properties(SvnThrottledClient.java:324)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.getPathPropertiesFromSvn(Svn2Infill2Processor.java:578)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.getPropertyChanges(Svn2Infill2Processor.java:555)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.infillChangeSet(Svn2Infill2Processor.java:189)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.access$100(Svn2Infill2Processor.java:76)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:119)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:108)
      	at com.cenqua.fisheye.cache.BaseRevisionCache.withDbWriteLock(BaseRevisionCache.java:967)
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.process(Svn2Infill2Processor.java:108)
      	at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:205)
      	at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:172)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:85)
      	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
      	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:408)
      	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:58)
      	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:228)
      	at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:59)
      	at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:185)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [B
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor$8.singlePath(Svn2Infill2Processor.java:583)
      	at org.tigris.subversion.javahl.SVNClient.properties(Native Method)
      	at com.cenqua.fisheye.svn.SvnThrottledClient$11.call(SvnThrottledClient.java:327)
      	at com.cenqua.fisheye.svn.SvnThrottledClient$11.call(SvnThrottledClient.java:324)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:32)
      	... 3 more
      

      Switching back to bundled svnkit client fixes the problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ganand Gurleen Anand [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: