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

NoSuchElementException when defining a start revision for a svn url + path that is a sub section of a bigger repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.0.2
    • 2.0
    • None
    • None

    Description

      2009-07-06 23:54:58,587 ERROR [InitialPinger2] fisheye.app com.cenqua.fisheye.rep.RepositoryScanner-slurp - Problem processing revisions from repo http://SVN_URL/PATH due to class java.util.NoSuchElementException - null
      java.util.NoSuchElementException
      at it.unimi.dsi.fastutil.longs.Long2ObjectAVLTreeMap.firstLongKey(Long2ObjectAVLTreeMap.java:1101)
      at it.unimi.dsi.fastutil.longs.AbstractLong2ObjectSortedMap.firstKey(AbstractLong2ObjectSortedMap.java:75)
      at it.unimi.dsi.fastutil.longs.AbstractLong2ObjectSortedMap.firstKey(AbstractLong2ObjectSortedMap.java:58)
      at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createInitialImport(DiffChangeSetProcessor.java:328)
      at com.cenqua.fisheye.svn.SvnRepositoryScanner.createInitialImport(SvnRepositoryScanner.java:317)
      at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:345)
      at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:245)
      at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:176)
      at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:109)
      at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:68)
      at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30)
      at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90)
      at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120)
      at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110)
      at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57)
      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:619)
      

      For example if you have a repository at SVN_URL but you only want to index a part of it, e.g. SVN_URL/PATH and you also want to define a start revision.

      When defining the start revision of say 100, fisheye will do

      svn log -v 99:100 SVN_URL/PATH

      and if the above returns no revisions, fisheye will error with the above message.

      Define a start revision where the svn log -v startRev-1:startRev SVN_URL/PATH will return at least one revision.

      Attachments

        Activity

          People

            cmacneill Conor
            pkamal Partha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: