java.util.NoSuchElementException: null

GitHub | oldmanpushcart | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

      null

      at com.github.ompc.greys.core.util.collection.ThreadUnsafeGaStack.checkForPopOrPeek()
    2. com.github.ompc
      AdviceWeaver.methodOnReturnEnd
      1. com.github.ompc.greys.core.util.collection.ThreadUnsafeGaStack.checkForPopOrPeek(ThreadUnsafeGaStack.java:48)[greys-core.jar:na]
      2. com.github.ompc.greys.core.util.collection.ThreadUnsafeGaStack.pop(ThreadUnsafeGaStack.java:54)[greys-core.jar:na]
      3. com.github.ompc.greys.core.util.GaStringUtils.getStack(GaStringUtils.java:341)[greys-core.jar:na]
      4. com.github.ompc.greys.core.command.TimeTunnelCommand$1$1$1.afterFinishing(TimeTunnelCommand.java:280)[greys-core.jar:na]
      5. com.github.ompc.greys.core.advisor.ReflectAdviceListenerAdapter.afterReturning(ReflectAdviceListenerAdapter.java:208)[greys-core.jar:na]
      6. com.github.ompc.greys.core.advisor.AdviceWeaver.afterReturning(AdviceWeaver.java:416)[greys-core.jar:na]
      7. com.github.ompc.greys.core.advisor.AdviceWeaver.methodOnEnd(AdviceWeaver.java:253)[greys-core.jar:na]
      8. com.github.ompc.greys.core.advisor.AdviceWeaver.methodOnReturnEnd(AdviceWeaver.java:196)[greys-core.jar:na]
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
      3 frames
    4. com.taobao.usa
      UsaSubReourceCacheClientManager.queryUsaProduct
      1. com.taobao.usa.cache.impl.UsaTairManager.prefixGet(UsaTairManager.java:91)[usa-common-1.5.8.jar:na]
      2. com.taobao.usa.cache.impl.client.UsaSubReourceCacheClientManager.queryUsaProduct(UsaSubReourceCacheClientManager.java:125)[usa-common-1.5.8.jar:na]
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
      4 frames
    6. com.github.ompc
      GaServer$5.run
      1. com.github.ompc.greys.core.util.GaMethod$MethodImpl.invoke(GaMethod.java:94)[greys-core.jar:na]
      2. com.github.ompc.greys.core.command.TimeTunnelCommand$6.action(TimeTunnelCommand.java:453)[greys-core.jar:na]
      3. com.github.ompc.greys.core.server.DefaultCommandHandler.execute(DefaultCommandHandler.java:214)[greys-core.jar:na]
      4. com.github.ompc.greys.core.server.DefaultCommandHandler.executeCommand(DefaultCommandHandler.java:87)[greys-core.jar:na]
      5. com.github.ompc.greys.core.server.GaServer$5.run(GaServer.java:363)[greys-core.jar:na]
      5 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
      3. java.lang.Thread.run(Thread.java:756)[na:1.8.0_66]
      3 frames