java.util.NoSuchElementException

Atlassian JIRA | Partha Kamal [Atlassian] | 7 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 | 7 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 | 7 years ago | Partha Kamal [Atlassian]
    java.util.NoSuchElementException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NoSuchElementException in ReduceReads - GATK-Forum

    broadinstitute.org | 6 months ago
    java.util.NoSuchElementException
  5. 0

    EDIT: The exception appears to be triggered by the axis "Values" field being left empty when saving. I didn't know what to enter for that field, in what format. Something like... var1="C:\Documents and Settings" var2=C:\WINDOWS ??? EDIT: I see how this works now, something like: Axis1 - x86 x64 Axis2 - Debug Release It would be nice to include an example in the help text, and to handle an empty value gracefully rather than an unhandled exception thrown. Steps to reproduce: 1. Clean install of Jenkins 1.396 as a Windows service. 2. Create a new multi-configuration project job. 3. Don't touch any setting except name. 4. At this point, can either 4a. Save and Configure again. OR, 4b. Simply continue to step 5. 5. Add axis, enter name. 6. Save. 7. Get the following exception: Status Code: 500 Exception: Stacktrace: org.apache.commons.jelly.JellyTagException: jar:file:/C:/WINDOWS/system32/config/systemprofile/.hudson/war/WEB-INF/lib/jenkins-core-1.396.jar!/lib/hudson/project/matrix.jelly:49:52: java.util.NoSuchElementException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:709) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:72) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:114) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:551) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:242) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:115) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) ... 91 more

    Jenkins JIRA | 6 years ago | Dan Puza
    org.apache.commons.jelly.JellyTagException: jar:file:/C:/WINDOWS/system32/config/systemprofile/.hudson/war/WEB-INF/lib/jenkins-core-1.396.jar!/lib/hudson/project/matrix.jelly:49:52: 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