org.h2.jdbc.JdbcSQLException: General error: "java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk" [50000-174]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Björn Pedersen, 1 year ago
General error: "java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk" [50000-174]
via GitHub by kno10
, 1 year ago
General error: "java.util.NoSuchElementException" [50000-192]
via Stack Overflow by principal-ideal-domain
, 1 year ago
General error: "java.lang.NullPointerException" [50000-176]
via GitHub by kno10
, 1 year ago
General error: "java.util.ConcurrentModificationException" [50000-192]
via GitHub by kno10
, 1 year ago
General error: "java.util.ConcurrentModificationException" General error: "java.util.ConcurrentModificationException" [50000-191]
via GitHub by GoogleCodeExporter
, 2 months ago
Allgemeiner Fehler: "java.lang.ArrayIndexOutOfBoundsException: -1" General error: "java.lang.ArrayIndexOutOfBoundsException: -1" [50000-155]
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.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)
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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.