org.h2.jdbc.JdbcSQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.h2.jdbc.JdbcSQLException: General error: "java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk" [50000-174] at org.h2.message.DbException.getJdbcSQLException(DbException.java:332) at org.h2.message.DbException.get(DbException.java:161) at org.h2.message.DbException.convert(DbException.java:284) at org.h2.message.DbException.toSQLException(DbException.java:257) at org.h2.message.TraceObject.logAndConvert(TraceObject.java:368) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:158) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.execute(SQLClient.java:239) at com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.storeEvent(SQLClient.java:151) at com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.storeEvent(SQLClient.java:135) at com.ericsson.gerrit.plugins.eventslog.sql.SQLStore.storeEvent(SQLStore.java:164) at com.ericsson.gerrit.plugins.eventslog.EventHandler$StoreEventTask.run(EventHandler.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:377) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk at org.h2.store.PageLog.removeUntil(PageLog.java:727) at org.h2.store.PageLog.removeUntil(PageLog.java:704) at org.h2.store.PageStore.checkpoint(PageStore.java:434) at org.h2.store.PageStore.commit(PageStore.java:1444) at org.h2.engine.Database.commit(Database.java:1855) at org.h2.engine.Session.commit(Session.java:489) at org.h2.command.Command.stop(Command.java:151) at org.h2.command.Command.executeUpdate(Command.java:283) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:181) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:156) ... 15 more
No Bugmate found.