java.util.NoSuchElementException

Atlassian JIRA | Partha Kamal [Atlassian] | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    MaxDB Cannot open connection

    oreports | 1 decade ago | jyotaro
    java.util.NoSuchElementException: Could not create a validated object         at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericOb jectPool.java:851)         at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo urce.java:140)         at net.sf.hibernate.connection.DBCPConnectionProvider.getConnection(DBCP ConnectionProvider.java:41)         at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278 )         at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264)         at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244)         at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.ja va:40)         at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction( JDBCTransactionFactory.java:19)         at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2 195)         at org.efs.openreports.providers.persistence.UserPersistenceProvider.get User(UserPersistenceProvider.java:52)         at org.efs.openreports.providers.impl.UserProviderImpl.getUser(UserProvi derImpl.java:49)         at org.efs.openreports.actions.LoginAction.execute(LoginAction.java:47)         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn vocation.java:173)         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around Interceptor.java:37)         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn vocation.java:170)         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around Interceptor.java:37)         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn vocation.java:170)         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around Interceptor.java:37)         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn vocation.java:170)         at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy. java:116)         at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(S ervletDispatcher.java:182)         at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet Dispatcher.java:162)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193)         at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(Re questLifecycleFilter.java:62)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:213)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:256)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643)         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480)         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643)         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480)         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2416)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643)         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:171)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641)         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480)         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174)         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643)         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480)         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  4. Speed up your debug routine!

    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