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


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by Luis Martinez
, 9 months ago
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]

Solution icon of stackoverflow
General error: "java.lang.NullPointerException" [50000-178]

Solution icon of stackoverflow
General error: "java.lang.NullPointerException" [50000-176]

Solution icon of web
General error: "java.lang.NullPointerException" [50000-178]

Solution icon of googlegroups
via Google Groups by Unknown author, 9 months ago
General error: "java.lang.RuntimeException: page[252] data leaf table:16 T16 entries:1 parent:5380 overflow:251 keys:[387] offsets:[19] parent 5380

Solution icon of stackoverflow
General error: "java.lang.RuntimeException: page[536] data leaf table:22 entries:4 parent:162 keys:[279, 281, 283, 285] offsets:[1873, 1646, 1461, 1443] parent 162 expected 170" [50000-140]

Solution icon of stackoverflow
General error: "java.lang.RuntimeException: page[325] data leaf table:0 entries:16 parent:144 keys:[506, 508, 510, 512, 514, 516, 522, 528, 530, 532, 534, 545, 547, 549, 551, 553] offsets:[1936, 1825, 1713, 1601, 1488, 1374, 1262, 1150, 1038, 926, 815, 702, 589, 478, 366, 253] parent 144 expected 28" [50000-140]

Solution icon of github
via GitHub by wengjjpaul
, 11 months ago
General error: "java.lang.RuntimeException: page[1045] data leaf table:68 METRICS_DOUBLE_TYPE_DEVICE entries:8 parent:1012 keys:[98056, 98057, 98058, 98059, 98060, 98103, 98104, 98105] offsets:[2007, 1985, 1966, 1937, 1915, 1873, 1851, 1832] parent

Solution icon of googlegroups
General error: "java.lang.RuntimeException: page[35624] data leaf table:206 T206 entries:0 parent:20233 keys:null offsets:null parent 20233 expected 0" [50000-176]

Solution icon of googlegroups
via Google Groups by marcolopes, 1 year ago
*General error: "java.lang.RuntimeException: page[35624] data leaf table:206 T206 entries:0 parent:20233 keys:null offsets:null parent 20233 expected 0" [50000-176]*

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
	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
	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

Samebug visitor profile picture
Unknown user
Once, 2 years ago