java.util.NoSuchElementException

Atlassian JIRA | Partha Kamal [Atlassian] | 8 years ago
  1. 0

    {noformat} 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) {noformat} 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.

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    java.util.NoSuchElementException
  2. 0

    {noformat} 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) {noformat} 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.

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    java.util.NoSuchElementException
  3. 0

    Camel - Users - JAAS auth + Jetty - Exception

    nabble.com | 1 year ago
    org.osgi.framework.BundleException: Could not create bundle object.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Loop Confusion

    Stack Overflow | 1 year ago | Quinlan O'Brien
    java.util.NoSuchElementException

    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.util.NoSuchElementException

      No message provided

      at it.unimi.dsi.fastutil.longs.Long2ObjectAVLTreeMap.firstLongKey()
    2. fastutil
      AbstractLong2ObjectSortedMap.firstKey
      1. it.unimi.dsi.fastutil.longs.Long2ObjectAVLTreeMap.firstLongKey(Long2ObjectAVLTreeMap.java:1101)
      2. it.unimi.dsi.fastutil.longs.AbstractLong2ObjectSortedMap.firstKey(AbstractLong2ObjectSortedMap.java:75)
      3. it.unimi.dsi.fastutil.longs.AbstractLong2ObjectSortedMap.firstKey(AbstractLong2ObjectSortedMap.java:58)
      3 frames
    3. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.svn.DiffChangeSetProcessor.createInitialImport(DiffChangeSetProcessor.java:328)
      2. com.cenqua.fisheye.svn.SvnRepositoryScanner.createInitialImport(SvnRepositoryScanner.java:317)
      3. com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:345)
      4. com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:245)
      5. com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:176)
      6. com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:109)
      7. com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:68)
      8. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30)
      9. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90)
      10. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120)
      11. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110)
      12. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57)
      12 frames
    4. 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:619)
      3 frames