java.util.NoSuchElementException

GitHub | ktole1999 | 8 months 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 org.spongepowered.common.text.TextComponentIterator.next()
    2. org.spongepowered.common
      SpongePaginationList.lambda$sendTo$0
      1. org.spongepowered.common.text.TextComponentIterator.next(TextComponentIterator.java:61)[TextComponentIterator.class:1.10.2-2052-5.0.0-BETA-1675]
      2. org.spongepowered.common.text.TextComponentIterator.next(TextComponentIterator.java:38)[TextComponentIterator.class:1.10.2-2052-5.0.0-BETA-1675]
      3. org.spongepowered.common.text.TextComponentIterator.next(TextComponentIterator.java:73)[TextComponentIterator.class:1.10.2-2052-5.0.0-BETA-1675]
      4. org.spongepowered.common.text.TextComponentIterator.next(TextComponentIterator.java:38)[TextComponentIterator.class:1.10.2-2052-5.0.0-BETA-1675]
      5. org.spongepowered.common.service.pagination.PaginationCalculator.getWidth(PaginationCalculator.java:149)[PaginationCalculator.class:1.10.2-2052-5.0.0-BETA-1675]
      6. org.spongepowered.common.service.pagination.PaginationCalculator.getLines(PaginationCalculator.java:99)[PaginationCalculator.class:1.10.2-2052-5.0.0-BETA-1675]
      7. org.spongepowered.common.service.pagination.SpongePaginationList.lambda$sendTo$0(SpongePaginationList.java:108)[SpongePaginationList.class:1.10.2-2052-5.0.0-BETA-1675]
      7 frames
    3. Java RT
      ReferencePipeline.collect
      1. java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)[?:1.8.0_101]
      2. java.util.Iterator.forEachRemaining(Unknown Source)[?:1.8.0_101]
      3. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)[?:1.8.0_101]
      4. java.util.stream.AbstractPipeline.copyInto(Unknown Source)[?:1.8.0_101]
      5. java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)[?:1.8.0_101]
      6. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)[?:1.8.0_101]
      7. java.util.stream.AbstractPipeline.evaluate(Unknown Source)[?:1.8.0_101]
      8. java.util.stream.ReferencePipeline.collect(Unknown Source)[?:1.8.0_101]
      8 frames
    4. org.spongepowered.common
      SpongeHelpCommand.lambda$create$3
      1. org.spongepowered.common.service.pagination.SpongePaginationList.sendTo(SpongePaginationList.java:110)[SpongePaginationList.class:1.10.2-2052-5.0.0-BETA-1675]
      2. org.spongepowered.common.service.pagination.SpongePaginationBuilder.sendTo(SpongePaginationBuilder.java:112)[SpongePaginationBuilder.class:1.10.2-2052-5.0.0-BETA-1675]
      3. org.spongepowered.common.command.SpongeHelpCommand.lambda$create$3(SpongeHelpCommand.java:86)[SpongeHelpCommand.class:1.10.2-2052-5.0.0-BETA-1675]
      3 frames
    5. org.spongepowered.api
      SimpleDispatcher.process
      1. org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:332)[CommandSpec.class:1.10.2-2052-5.0.0-BETA-1675]
      2. org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)[SimpleDispatcher.class:1.10.2-2052-5.0.0-BETA-1675]
      2 frames
    6. org.spongepowered.common
      SpongeCommandManager.process
      1. org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)[SpongeCommandManager.class:1.10.2-2052-5.0.0-BETA-1675]
      1 frame
    7. net.minecraft.command
      ServerCommandManager.func_71556_a
      1. net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)[bd.class:?]
      1 frame
    8. MC Server
      MinecraftServer.run
      1. net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:423)[ld.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:388)[ld.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      4 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_101]
      1 frame