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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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

Solutions on the web

via osdir.com by Unknown author, 1 year ago
IO Exception: "java.nio.channels.ClosedChannelException"; "nio:test.h2.db" [90031-147]
via Google Groups by Stuart Goldberg, 1 year ago
IO Exception: "java.io.IOException: Stream Closed"; "/d1/data/fixflyerWeb/daytona.h2.db" [90031-166]
via zeroturnaround.com by Unknown author, 1 year ago
IO Exception: “java.io.IOException: Stream Closed”; “/opt/jrebel/license-server/data/db/db.h2.db”; SQL statement: ROLLBACK [90031-176]
via zeroturnaround.com by Unknown author, 2 years ago
IO Exception: “java.io.IOException: Stream Closed”; “/opt/jrebel/license-server/data/db/db.h2.db”; SQL statement: ROLLBACK [90031-176]
via GitHub by gepunkt1x
, 9 months ago
IO Exception: "java.io.IOException: Stream Closed"; "/var/lib/go-server/db/h2db/cruise.h2.db"; SQL statement: UPDATE pipelines SET locked = true WHERE id = ? [90031-168]
via GitHub by ashro7
, 2 years ago
IO Exception: "java.io.IOException: Block not found in id [1, -89, 11, 2] [1.4.188/50]"; "lob: null table: -3 id: 8" [90031-188]
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 undefined.testH2.insert(testH2.java:33)
at undefined.testH2$1.run(testH2.java:43)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

4 times, 57 minutes ago
9 times, 2 weeks ago
22 times, 4 weeks ago
2 times, 1 month ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.