org.h2.message.DbException: General error: "

89 views
Skip to first unread message

Thomas Bregnholt Godske

unread,
Aug 24, 2015, 8:43:24 AM8/24/15
to H2 Database
Hey

im a running a simple h2 DB and it has been running for days and then suddenly, it went down:

org.h2.message.DbException: General error: "java.lang.IllegalStateException: Corrupt max length -1696 [1.4.187/3]" [50000-187]
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.message.DbException.convert(DbException.java:295)
at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:93)
at org.h2.mvstore.MVStore.panic(MVStore.java:368)
at org.h2.mvstore.MVStore.storeNow(MVStore.java:975)
at org.h2.mvstore.MVStore.commitAndSave(MVStore.java:962)
at org.h2.mvstore.MVStore.beforeWrite(MVStore.java:2097)
at org.h2.mvstore.MVMap.beforeWrite(MVMap.java:1046)
at org.h2.mvstore.MVMap.put(MVMap.java:117)
at org.h2.mvstore.MVMap.replace(MVMap.java:616)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:806)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:823)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:823)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:823)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:782)
at org.h2.mvstore.MVStore.compactRewrite(MVStore.java:1809)
at org.h2.mvstore.MVStore.compact(MVStore.java:1701)
at org.h2.mvstore.MVStore.writeInBackground(MVStore.java:2393)
at org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:2583)
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: Corrupt max length -1696 [1.4.187/3]" [50000-187]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
... 19 more
Caused by: java.lang.IllegalStateException: Corrupt max length -1696 [1.4.187/3]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
at org.h2.mvstore.MVStore.applyFreedSpace(MVStore.java:1392)
at org.h2.mvstore.MVStore.storeNowTry(MVStore.java:1042)
at org.h2.mvstore.MVStore.storeNow(MVStore.java:973)
... 14 more

det DB is about 208 MG

is there anybody there know why??

Regard
Thomas

Thomas Mueller

unread,
Aug 27, 2015, 1:48:23 AM8/27/15
to h2-da...@googlegroups.com
Hi,

We would need a reproducible test case I'm afraid.

Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database...@googlegroups.com.
To post to this group, send email to h2-da...@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages