com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B

Atlassian JIRA | Gurleen Anand [Atlassian] | 4 years ago
  1. 0

    [FE-4679] ClassCastException with native SVN client - Atlassian JIRA

    atlassian.com | 1 year ago
    com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B
  2. 0

    The following exception is reported when indexing a svn repository with native svn client: {noformat} 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 {noformat} Switching back to bundled svnkit client fixes the problem.

    Atlassian JIRA | 4 years ago | Gurleen Anand [Atlassian]
    com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B
  3. 0

    SVN indexing fails due to ClassCastException - Atlassian Documentation

    atlassian.com | 5 months ago
    com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The following exception is reported when indexing a svn repository with native svn client: {noformat} 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 {noformat} Switching back to bundled svnkit client fixes the problem.

    Atlassian JIRA | 4 years ago | Gurleen Anand [Atlassian]
    com.cenqua.fisheye.rep.RepositoryClientException: java.lang.ClassCastException: java.lang.String cannot be cast to [B
  6. 0

    ClassCastException when trying to (string)args received

    GitHub | 2 years ago | dimitrilahaye
    java.lang.ClassCastException: [B cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to [B

      at com.atlassian.fisheye.svn.Svn2Infill2Processor$8.singlePath()
    2. com.atlassian.fisheye
      Svn2Infill2Processor$8.singlePath
      1. com.atlassian.fisheye.svn.Svn2Infill2Processor$8.singlePath(Svn2Infill2Processor.java:583)
      1 frame
    3. org.tigris.subversion
      SVNClient.properties
      1. org.tigris.subversion.javahl.SVNClient.properties(Native Method)
      1 frame
    4. com.cenqua.fisheye
      SvnThrottledClient$11.call
      1. com.cenqua.fisheye.svn.SvnThrottledClient$11.call(SvnThrottledClient.java:327)
      2. com.cenqua.fisheye.svn.SvnThrottledClient$11.call(SvnThrottledClient.java:324)
      2 frames
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames
    6. com.cenqua.fisheye
      SvnTask.run
      1. com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:32)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames