java.lang.Exception: Apparent connection leak detected

GitHub | monktastic | 6 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

    Connection leak

    GitHub | 6 months ago | monktastic
    java.lang.Exception: Apparent connection leak detected

Root Cause Analysis

  1. java.lang.Exception

    Apparent connection leak detected

    at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection()
  2. slick.jdbc.hikaricp
    HikariCPJdbcDataSource.createConnection
    1. slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:12)
    1 frame
  3. slick.jdbc
    StreamingInvokerAction$class.emitStream
    1. slick.jdbc.JdbcBackend$BaseSession.conn$lzycompute(JdbcBackend.scala:415)
    2. slick.jdbc.JdbcBackend$BaseSession.conn(JdbcBackend.scala:414)
    3. slick.jdbc.JdbcBackend$SessionDef$class.prepareStatement(JdbcBackend.scala:297)
    4. slick.jdbc.JdbcBackend$BaseSession.prepareStatement(JdbcBackend.scala:407)
    5. slick.jdbc.StatementInvoker.results(StatementInvoker.scala:33)
    6. slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)
    7. slick.jdbc.StreamingInvokerAction$class.emitStream(StreamingInvokerAction.scala:28)
    7 frames
  4. slick.driver
    JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.emitStream
    1. slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.emitStream(JdbcActionComponent.scala:218)
    2. slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.emitStream(JdbcActionComponent.scala:218)
    2 frames
  5. slick.backend
    DatabaseComponent$DatabaseDef$$anon$3.run
    1. slick.backend.DatabaseComponent$DatabaseDef$$anon$3.run(DatabaseComponent.scala:285)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames