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 | 2 months ago
  1. 0

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

    Google Groups | 2 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
  3. 0

    Out of memory when loading in large SQL file

    Google Groups | 7 years ago | Paul
    java.lang.ClassCastException: org.h2.store.PageStreamData cannot be cast to org.h2.index.PageData [50000-122]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException?

    Google Groups | 7 years ago | ryantxu
    java.lang.ClassCastException: org.h2.index.PageDataLeaf cannot be cast to org.h2.index.PageBtree [50000-121]
  6. 0

    Datasource Problem | Java: Java-Forum.org

    java-forum.org | 11 months ago
    java.lang.ClassCastException: org.h2.Driver cannot be cast to javax.sql.DataSource

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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