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

Google Groups | Björn Pedersen | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Events log plugin: WARN [com.ericsson.gerrit.plugins.eventslog.sql.SQLStore] Cannot store ChangeEvent for: frm2/services/jenkins

    Google Groups | 5 months ago | Björn Pedersen
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk" [50000-174]
  2. 0

    Errors in trace.db when closing Database

    Google Groups | 5 years ago | Uli
    java.lang.ClassCastException: org.h2.store.PageStreamData cannot be

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.h2.store.PageStreamData cannot be cast to org.h2.store.PageStreamTrunk

      at org.h2.store.PageLog.removeUntil()
    2. H2 Database Engine
      JdbcStatement.execute
      1. org.h2.store.PageLog.removeUntil(PageLog.java:727)
      2. org.h2.store.PageLog.removeUntil(PageLog.java:704)
      3. org.h2.store.PageStore.checkpoint(PageStore.java:434)
      4. org.h2.store.PageStore.commit(PageStore.java:1444)
      5. org.h2.engine.Database.commit(Database.java:1855)
      6. org.h2.engine.Session.commit(Session.java:489)
      7. org.h2.command.Command.stop(Command.java:151)
      8. org.h2.command.Command.executeUpdate(Command.java:283)
      9. org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:181)
      10. org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:156)
      10 frames
    3. Commons DBCP
      DelegatingStatement.execute
      1. org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
      2. org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
      2 frames
    4. com.ericsson.gerrit
      EventHandler$StoreEventTask.run
      1. com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.execute(SQLClient.java:239)
      2. com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.storeEvent(SQLClient.java:151)
      3. com.ericsson.gerrit.plugins.eventslog.sql.SQLClient.storeEvent(SQLClient.java:135)
      4. com.ericsson.gerrit.plugins.eventslog.sql.SQLStore.storeEvent(SQLStore.java:164)
      5. com.ericsson.gerrit.plugins.eventslog.EventHandler$StoreEventTask.run(EventHandler.java:54)
      5 frames
    5. Java RT
      ScheduledThreadPoolExecutor$ScheduledFutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      4 frames
    6. mini-git-server - Server
      WorkQueue$Task.run
      1. com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:377)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames