play.api.UnexpectedException: Unexpected exception[SQLTimeoutException: Timeout after 1005ms of waiting for a connection.]

Google Groups | pedro rijo | 12 months ago
  1. 0

    issue: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException'

    Google Groups | 12 months ago | pedro rijo
    play.api.UnexpectedException: Unexpected exception[SQLTimeoutException: Timeout after 1005ms of waiting for a connection.]
  2. 0

    Problems testing DAO objects through the test framework

    GitHub | 7 months ago | steinaol
    java.sql.SQLTimeoutException: Timeout after 1000ms of waiting for a connection.
  3. 0

    GitHub comment 737#214518906

    GitHub | 8 months ago | jacarey
    java.sql.SQLTimeoutException: Timeout after 5059ms of waiting for a connection.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4862#125963598

    GitHub | 1 year ago | johdah
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[QueryTimeoutException: Could not open connection]]
  6. 0

    Play server randomly unable to establish connection to Mysql

    Stack Overflow | 1 year ago | NarayanJr
    play.api.UnexpectedException: Unexpected exception[SQLTimeoutException: Timeout after 30000ms of waiting for a connection.]

  1. silex 2 times, last 5 days ago
  2. silex 1 times, last 5 months ago
2 unregistered visitors
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.sql.SQLTimeoutException

    Timeout after 1005ms of waiting for a connection.

    at com.zaxxer.hikari.pool.BaseHikariPool.getConnection()
  2. HikariCP-java6
    HikariDataSource.getConnection
    1. com.zaxxer.hikari.pool.BaseHikariPool.getConnection(BaseHikariPool.java:227)[HikariCP-java6-2.3.7.jar:na]
    2. com.zaxxer.hikari.pool.BaseHikariPool.getConnection(BaseHikariPool.java:182)[HikariCP-java6-2.3.7.jar:na]
    3. com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:93)[HikariCP-java6-2.3.7.jar:na]
    3 frames
  3. slick.jdbc.hikaricp
    HikariCPJdbcDataSource.createConnection
    1. slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:12)[slick-hikaricp_2.11-3.1.0.jar:na]
    1 frame
  4. play.api.db
    DBApiAdapter$DatabaseAdapter.getConnection
    1. play.api.db.slick.evolutions.internal.DBApiAdapter$DatabaseAdapter.getConnection(DBApiAdapter.scala:56)[play-slick-evolutions_2.11-1.1.0.jar:1.1.0]
    2. play.api.db.slick.evolutions.internal.DBApiAdapter$DatabaseAdapter.getConnection(DBApiAdapter.scala:59)[play-slick-evolutions_2.11-1.1.0.jar:1.1.0]
    2 frames
  5. Play JDBC
    ApplicationEvolutions$$anonfun$start$1.apply
    1. play.api.db.evolutions.DatabaseEvolutions.databaseEvolutions(EvolutionsApi.scala:119)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    2. play.api.db.evolutions.DatabaseEvolutions.scripts(EvolutionsApi.scala:97)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    3. play.api.db.evolutions.DatabaseEvolutions.scripts(EvolutionsApi.scala:112)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    4. play.api.db.evolutions.DefaultEvolutionsApi.scripts(EvolutionsApi.scala:77)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    5. play.api.db.evolutions.ApplicationEvolutions$$anonfun$play$api$db$evolutions$ApplicationEvolutions$$runEvolutions$1.apply$mcV$sp(ApplicationEvolutions.scala:50)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    6. play.api.db.evolutions.ApplicationEvolutions.withLock(ApplicationEvolutions.scala:98)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    7. play.api.db.evolutions.ApplicationEvolutions.play$api$db$evolutions$ApplicationEvolutions$$runEvolutions(ApplicationEvolutions.scala:49)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    8. play.api.db.evolutions.ApplicationEvolutions$$anonfun$start$1.apply(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    9. play.api.db.evolutions.ApplicationEvolutions$$anonfun$start$1.apply(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    9 frames
  6. Scala
    Stream.foreach
    1. scala.collection.immutable.Stream.foreach(Stream.scala:594)[scala-library-2.11.6.jar:na]
    1 frame
  7. Play JDBC
    ApplicationEvolutionsProvider.get
    1. play.api.db.evolutions.ApplicationEvolutions.start(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    2. play.api.db.evolutions.ApplicationEvolutions.<init>(ApplicationEvolutions.scala:149)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    3. play.api.db.evolutions.ApplicationEvolutionsProvider.get$lzycompute(EvolutionsModule.scala:53)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    4. play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:53)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    5. play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:44)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0]
    5 frames
  8. Google Guice - Core Library
    Guice.createInjector
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)[guice-4.0.jar:na]
    2. com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)[guice-4.0.jar:na]
    3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)[guice-4.0.jar:na]
    4. com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)[guice-4.0.jar:na]
    5. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0.jar:na]
    6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)[guice-4.0.jar:na]
    7. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0.jar:na]
    8. com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)[guice-4.0.jar:na]
    9. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0.jar:na]
    10. com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)[guice-4.0.jar:na]
    11. com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)[guice-4.0.jar:na]
    12. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)[guice-4.0.jar:na]
    13. com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)[guice-4.0.jar:na]
    14. com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)[guice-4.0.jar:na]
    15. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)[guice-4.0.jar:na]
    16. com.google.inject.Guice.createInjector(Guice.java:96)[guice-4.0.jar:na]
    17. com.google.inject.Guice.createInjector(Guice.java:73)[guice-4.0.jar:na]
    18. com.google.inject.Guice.createInjector(Guice.java:62)[guice-4.0.jar:na]
    18 frames
  9. Play
    GuiceApplicationLoader.load
    1. play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:126)[play_2.11-2.4.4.jar:2.4.4]
    2. play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:93)[play_2.11-2.4.4.jar:2.4.4]
    3. play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)[play_2.11-2.4.4.jar:2.4.4]
    3 frames
  10. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:153)[play-server_2.11-2.4.4.jar:2.4.4]
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:150)[play-server_2.11-2.4.4.jar:2.4.4]
    2 frames
  11. Play
    Threads$.withContextClassLoader
    1. play.utils.Threads$.withContextClassLoader(Threads.scala:21)[play_2.11-2.4.4.jar:2.4.4]
    1 frame
  12. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:150)[play-server_2.11-2.4.4.jar:2.4.4]
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:121)[play-server_2.11-2.4.4.jar:2.4.4]
    2 frames
  13. Scala
    Option.map
    1. scala.Option.map(Option.scala:146)[scala-library-2.11.6.jar:na]
    1 frame
  14. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:121)[play-server_2.11-2.4.4.jar:2.4.4]
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:119)[play-server_2.11-2.4.4.jar:2.4.4]
    2 frames
  15. Scala
    Success.flatMap
    1. scala.util.Success.flatMap(Try.scala:230)[scala-library-2.11.6.jar:na]
    1 frame
  16. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:119)[play-server_2.11-2.4.4.jar:2.4.4]
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:111)[play-server_2.11-2.4.4.jar:2.4.4]
    2 frames
  17. Scala
    Future$PromiseCompletingRunnable.run
    1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[scala-library-2.11.6.jar:na]
    2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[scala-library-2.11.6.jar:na]
    2 frames
  18. Java RT
    ForkJoinWorkerThread.run
    1. java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)[na:1.8.0_60]
    2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)[na:1.8.0_60]
    3. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)[na:1.8.0_60]
    4. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)[na:1.8.0_60]
    5. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)[na:1.8.0_60]
    5 frames