java.util.NoSuchElementException

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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)

    Root Cause Analysis

    1. java.util.NoSuchElementException

      No message provided

      at serp.util.LookaheadIterator.next()
    2. Serp
      LookaheadIterator.next
      1. serp.util.LookaheadIterator.next(LookaheadIterator.java:57)
      1 frame
    3. com.solarmetric.apache
      IteratorChain.next
      1. com.solarmetric.apache.commons.collections.iterators.IteratorChain.next(IteratorChain.java:264)
      1 frame
    4. kodo.util
      CacheMap$EntryIterator.next
      1. kodo.util.CacheMap$EntryIterator.next(CacheMap.java:654)
      1 frame
    5. Java RT
      ArrayList.<init>
      1. java.util.AbstractCollection.toArray(AbstractCollection.java:174)
      2. java.util.ArrayList.<init>(ArrayList.java:136)
      2 frames
    6. kodo.datacache
      DataCacheStoreManager.commit
      1. kodo.datacache.QueryCacheImpl.keySet(QueryCacheImpl.java:165)
      2. kodo.datacache.AbstractQueryCache.classesChanged(AbstractQueryCache.java:60)
      3. kodo.datacache.DataCacheStoreManager.updateCaches(DataCacheStoreManager.java:217)
      4. kodo.datacache.DataCacheStoreManager.commit(DataCacheStoreManager.java:73)
      4 frames
    7. kodo.runtime
      PersistenceManagerImpl.commit
      1. kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:1317)
      2. kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:998)
      3. kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
      4. kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
      4 frames
    8. com.stchome.cdr
      SearchCriteriaWizardAction.searchQbe
      1. com.stchome.cdr.actions.SearchCriteriaWizardAction.searchQbe(SearchCriteriaWizardAction.java:345)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    10. struts
      ActionServlet.process
      1. org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      2. org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
      3. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      4. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      5. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      5 frames
    11. com.stchome.cdr
      CdrActionServlet.process
      1. com.stchome.cdr.servlet.CdrActionServlet.process(CdrActionServlet.java:31)
      1 frame
    12. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2 frames
    15. com.stchome.cdr
      SessionManagerFilter.doFilter
      1. com.stchome.cdr.servlet.filters.SessionManagerFilter.doFilter(SessionManagerFilter.java:41)
      1 frame
    16. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      10. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      11. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      12. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      14. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      16. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      17. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      18. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      18 frames
    17. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      1 frame
    18. Embedded GlassFish Web
      SocketConnection.runIt
      1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
      2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
      3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
      4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
      5. org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
      5 frames
    19. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      1 frame
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame