H2 corrupted chunk

72 views
Skip to first unread message

csh...@googlemail.com

unread,
May 3, 2017, 3:07:48 PM5/3/17
to H2 Database
Hi,

my database is corrupted and cannot be recovered. Can you help me?

H2: 1.4.195
OS: Windows 10
Java: 1.8.0_121

Error: java.lang.IllegalStateException: File corrupted in chunk 8111, expected page length 4..256, got 0 [1.4.195/6]
java
.lang.IllegalStateException: File corrupted in chunk 8111, expected page length 4..256, got 0 [1.4.195/6]
        at org
.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765)
        at org
.h2.mvstore.Page.read(Page.java:649)
        at org
.h2.mvstore.Page.read(Page.java:195)
        at org
.h2.mvstore.MVStore.readPage(MVStore.java:1952)
        at org
.h2.mvstore.MVMap.readPage(MVMap.java:741)
        at org
.h2.mvstore.Page.getChildPage(Page.java:217)
        at org
.h2.mvstore.Cursor.fetchNext(Cursor.java:150)
        at org
.h2.mvstore.Cursor.next(Cursor.java:50)
        at org
.h2.mvstore.db.TransactionStore$TransactionMap$1.fetchNext(TransactionStore.java:1391)
        at org
.h2.mvstore.db.TransactionStore$TransactionMap$1.next(TransactionStore.java:1430)
        at org
.h2.tools.Recover.dumpMVStoreFile(Recover.java:632)
        at org
.h2.tools.Recover.process(Recover.java:349)
        at org
.h2.tools.Recover.runTool(Recover.java:196)
        at org
.h2.tools.Recover.main(Recover.java:159)


cashsystem.mv.db

hendrik

unread,
May 5, 2017, 11:35:41 AM5/5/17
to H2 Database
I would assume that if recovery does not work, the database is gone...
Reply all
Reply to author
Forward
0 new messages