Encountered a org.h2.jdbc.JdbcSQLException: IO Exception: null [90028-190] while accessing the database

344 views
Skip to first unread message

Emmanuel Callado

unread,
Oct 12, 2022, 3:40:07 AM10/12/22
to H2 Database
Greetings!

We are trying to access this H2 database that has an accumulated volume of 946.8 MB file size, and we are getting this IO Exception, with the following stack trace below:

org.h2.jdbc.JdbcSQLException: IO Exception: null [90028-190]
Reading from cache:nio:[path]/posdb.mv.db failed; file length 946757632 read length 1024 at 955375877 [1.4.190/1]
Reading from cache:nio:[path]/posdb.mv.db failed; file length 946757632 read length 1024 at 955375877 [1.4.190/1]

java.io.EOFException

May I ask if there would be a way to recover the data that has been stored in the database?

Noel Grandin

unread,
Oct 13, 2022, 8:27:07 AM10/13/22
to h2-da...@googlegroups.com
You can try the recovery tool, but there are no guarantees, sometimes you get lucky, sometimes not.
Reply all
Reply to author
Forward
0 new messages