org.h2.jdbc.JdbcSQLException

General error: "java.lang.RuntimeException: page[252] data leaf table:16 T16 entries:1 parent:5380 overflow:251 keys:[387] offsets:[19] parent 5380 expected 521" [50000-192]

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web31

  • via Stack Overflow by Luis Martinez
    ,
  • via Unknown by Unknown author,
  • via Unknown by Rajesh,
  • Stack trace

    • org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[252] data leaf table:16 T16 entries:1 parent:5380 overflow:251 keys:[387] offsets:[19] parent 5380 expected 521" [50000-192] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.engine.Database.openDatabase(Database.java:301) at org.h2.engine.Database.<init>(Database.java:264) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.server.TcpServerThread.run(TcpServerThread.java:148) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: page[252] data leaf table:16 T16 entries:1 parent:5380 overflow:251 keys:[387] offsets:[19] parent 5380 expected 521 at org.h2.message.DbException.throwInternalError(DbException.java:242) at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:245) at org.h2.index.PageDataNode.getLastKey(PageDataNode.java:214) at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:86) at org.h2.table.RegularTable.<init>(RegularTable.java:83) at org.h2.store.PageStore.addMeta(PageStore.java:1696) at org.h2.store.PageStore.readMetaData(PageStore.java:1627) at org.h2.store.PageStore.recover(PageStore.java:1405) at org.h2.store.PageStore.openExisting(PageStore.java:367) at org.h2.store.PageStore.open(PageStore.java:288) at org.h2.engine.Database.getPageStore(Database.java:2477) at org.h2.engine.Database.open(Database.java:692) at org.h2.engine.Database.openDatabase(Database.java:270) ... 7 more

    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

    Unknown visitor
    Unknown visitorOnce,