org.h2.jdbc.JdbcSQLException

File corrupted while reading record: "16754 of 13346". Possible solution: use the recovery tool [90030-144]

Samebug tips1

tip

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


rafaelrafael

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

Solutions on the web849

  • via by bxgrant,
  • Stack trace

    • org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "16754 of 13346". Possible solution: use the recovery tool [90030-144] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.store.PageStore.readPage(PageStore.java:1256) at org.h2.store.PageStore.getPage(PageStore.java:695) at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220) at org.h2.index.PageDataNode.getLastKey(PageDataNode.java:208) at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:76) at org.h2.table.RegularTable.<init>(RegularTable.java:75) at org.h2.store.PageStore.addMeta(PageStore.java:1610) at org.h2.store.PageStore.readMetaData(PageStore.java:1542) at org.h2.store.PageStore.recover(PageStore.java:1340) at org.h2.store.PageStore.openExisting(PageStore.java:346) at org.h2.store.PageStore.open(PageStore.java:275) at org.h2.engine.Database.getPageStore(Database.java:2030) at org.h2.engine.Database.open(Database.java:537) at org.h2.engine.Database.openDatabase(Database.java:208) at org.h2.engine.Database.<init>(Database.java:203) at org.h2.engine.Engine.openSession(Engine.java:53) at org.h2.engine.Engine.openSession(Engine.java:147) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:126) at org.h2.engine.Engine.createSession(Engine.java:109) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:289) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:265) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94) at org.h2.Driver.connect(Driver.java:72) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at com.ma1.m2.M2.initConn(M2.java:1717) at com.ma1.m2.M2.init(M2.java:1674) at com.ma1.m2.M2.<clinit>(M2.java:230)

    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

    Andreas HäberAndreas Häber
    114 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    144 more bugmates