java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: The object is already closed [90007-178]

GitHub | davidmoten | 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

    GitHub comment 30#243715874

    GitHub | 6 months ago | davidmoten
    java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: The object is already closed [90007-178]

  1. Andreas Häber 2 times, last 2 weeks ago
3 unregistered visitors

Root Cause Analysis

  1. org.h2.jdbc.JdbcSQLException

    The object is already closed [90007-178]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    JdbcPreparedStatement.setObject
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
    2. org.h2.message.DbException.get(DbException.java:178)
    3. org.h2.message.DbException.get(DbException.java:154)
    4. org.h2.message.DbException.get(DbException.java:143)
    5. org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:985)
    6. org.h2.jdbc.JdbcPreparedStatement.checkClosed(JdbcPreparedStatement.java:1621)
    7. org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:961)
    8. org.h2.jdbc.JdbcPreparedStatement.setParameter(JdbcPreparedStatement.java:1379)
    9. org.h2.jdbc.JdbcPreparedStatement.setObject(JdbcPreparedStatement.java:461)
    9 frames
  3. com.github.davidmoten
    QueryUpdateOnSubscribe.call
    1. com.github.davidmoten.rx.jdbc.PreparedStatementBatch.setObject(PreparedStatementBatch.java:293)
    2. com.github.davidmoten.rx.jdbc.Util.setParameters(Util.java:790)
    3. com.github.davidmoten.rx.jdbc.Util.setParameters(Util.java:932)
    4. com.github.davidmoten.rx.jdbc.QueryUpdateOnSubscribe.performUpdate(QueryUpdateOnSubscribe.java:215)
    5. com.github.davidmoten.rx.jdbc.QueryUpdateOnSubscribe.call(QueryUpdateOnSubscribe.java:88)
    6. com.github.davidmoten.rx.jdbc.QueryUpdateOnSubscribe.call(QueryUpdateOnSubscribe.java:23)
    6 frames
  4. rxjava
    ScheduledAction.run
    1. rx.Observable.unsafeSubscribe(Observable.java:8460)
    2. rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
    3. rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:222)
    4. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    4 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames