org.h2.jdbc.JdbcSQLException

IO Exception: "java.nio.channels.ClosedChannelException"; "nio:test.h2.db" [90031-147]

Samebug tips1

Check if you're not creating unused SQL entities, as it might cause this exception.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web234

  • IO Exception: "java.nio.channels.ClosedChannelException"; "nio:test.h2.db" [90031-147]
  • via Google Groups by beetle, 1 year ago
    IO Exception: "java.io.EOFException"; "C:\journal\H2DB\HNDLDATA.h2.db" [90031-155]
  • via Google Groups by Stuart Goldberg, 1 year ago
    IO Exception: "java.io.IOException: Stream Closed"; "/d1/data/fixflyerWeb/daytona.h2.db" [90031-166]
  • Stack trace

    • org.h2.jdbc.JdbcSQLException: IO Exception: "java.nio.channels.ClosedChannelException"; "nio:test.h2.db" [90031-147] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:156) at org.h2.message.DbException.convertIOException(DbException.java:313) at org.h2.store.FileStore.write(FileStore.java:342) at org.h2.store.PageStore.writePage(PageStore.java:1309) at org.h2.store.PageStreamData.write(PageStreamData.java:105) at org.h2.store.PageOutputStream.storePage(PageOutputStream.java:148) at org.h2.store.PageOutputStream.write(PageOutputStream.java:130) at org.h2.store.PageLog.write(PageLog.java:529) at org.h2.store.PageLog.commit(PageLog.java:549) at org.h2.store.PageStore.commit(PageStore.java:1417) at org.h2.engine.Database.commit(Database.java:1685) at org.h2.engine.Session.commit(Session.java:459) at org.h2.command.Command.stop(Command.java:170) at org.h2.command.Command.executeUpdate(Command.java:250) at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143) at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129) at testH2.insert(testH2.java:33) at testH2$1.run(testH2.java:43) at java.lang.Thread.run(Thread.java:722)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    Once, 1 month ago
    3 times, 2 months ago
    3 times, 2 months ago
    4 times, 3 months ago
    143 more bugmates