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

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

    GitHub comment 30#243715874

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

    Problem with JDBC Url (h2 server mode)

    Google Groups | 3 years ago | Stefan Beigel
    org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:tcp://localhost//data". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-178] at org.h2.message.DbException.getJdbcSQLException(DbException.java:344<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=344&build=178>) at org.h2.message.DbException.get(DbException.java:178<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=178&build=178>) at org.h2.engine.ConnectionInfo.getName(ConnectionInfo.java:392<http://h2database.com/html/source.html?file=org/h2/engine/ConnectionInfo.java&line=392&build=178>) at org.h2.engine.Engine.openSession(Engine.java:42<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=42&build=178>) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=142&build=178>) at org.h2.engine.Engine.createSession(Engine.java:125<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=125&build=178>)
  3. 0

    Out Of Memory Error: Java heap space

    Google Groups | 8 years ago | Alexander.Sirenko
    org.h2.jdbc.JdbcSQLException: Out of memory.; SQL statement: SCRIPT [90108-169] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=329&build=169>) at org.h2.message.DbException.get(DbException.java:158<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=158&build=169>) at org.h2.command.Command.executeQuery(Command.java:195<http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=195&build=169>) at org.h2.server.TcpServerThread.process(TcpServerThread.java:308<http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=308&build=169>)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Corrupted Database - unable to recover

    Google Groups | 5 years ago | beetle
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement: SELECT * FROM JESIG [50000-155] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=327&build=155>) at org.h2.message.DbException.get(DbException.java:156<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=156&build=155>) at org.h2.command.Command.executeQuery(Command.java:185<http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=185&build=155>) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:173<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcStatement.java&line=173&build=155>) at org.h2.server.web.WebApp.getResult(WebApp.java:1304<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=1304&build=155>) at org.h2.server.web.WebApp.query(WebApp.java:994<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=994&build=155>) at org.h2.server.web.WebApp$1.next(WebApp.java:960<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=960&build=155>) at org.h2.server.web.WebThread.process(WebThread.java:166<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=166&build=155>)
  6. 0

    add identity an primary key after filling

    Google Groups | 9 years ago | kavenchuk
    org.h2.jdbc.JdbcSQLException: Timeout trying to lock table SYS [50200-69] at org.h2.message.Message.getSQLException(Message.java:91 <http://h2database.com/html/source.html?file=org/h2/message/Message.java&line=91&build=69>) at org.h2.message.Message.getSQLException(Message.java:95 at org.h2.message.Message.getSQLException(Message.java:73 <http://h2database.com/html/source.html?file=org/h2/message/Message.java&line=73&build=69>) at org.h2.table.TableData.lock(TableData.java:377 at org.h2.engine.Database.removeMeta(Database.java:698 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=698&build=69>) at org.h2.engine.Database.update(Database.java:1112 at org.h2.schema.Sequence.flush(Sequence.java:104 <http://h2database.com/html/source.html?file=org/h2/schema/Sequence.java&line=104&build=69>) at org.h2.table.Column.updateSequenceIfRequired(Column.java:269 at org.h2.table.Column.validateConvertUpdateSequence(Column.java:251 <http://h2database.com/html/source.html?file=org/h2/table/Column.java&line=251&build=69>) at org.h2.table.Table.validateConvertUpdateSequence(Table.java:469 at org.h2.command.dml.Insert.update(Insert.java:117 <http://h2database.com/html/source.html?file=org/h2/command/dml/Insert.java&line=117&build=69>) at <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=368&build=69>) at org.h2.command.ddl.AlterTableAlterColumn.copyData(AlterTableAlterColumn.java:316 <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=316&build=69>) org.h2.command.ddl.AlterTableAlterColumn.update(AlterTableAlterColumn.java:152 <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=152&build=69>) at org.h2.command.CommandContainer.update(CommandContainer.java:69 <http://h2database.com/html/source.html?file=org/h2/command/CommandContainer.java&line=69&build=69>) at org.h2.command.Command.executeUpdate(Command.java:197 at org.h2.server.TcpServerThread.process(TcpServerThread.java:248 <http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=248&build=69>) at org.h2.server.TcpServerThread.run(TcpServerThread.java:104

  1. Andreas Häber 2 times, last 3 months ago
3 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. 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