General error: "java.lang.ClassCastException: cannot be cast to" [50000-174]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web858

  • General error: "java.lang.ClassCastException: cannot be cast to" [50000-174]
  • General error: > "java.lang.NullPointerException" [50000-176] > at org.h2.message.DbException.getJdbcSQLException(
  • via Google Groups by Jai Byron, 4 months ago
    General error: "java.lang.ClassCastException: org.h2.index.PageBtreeLeaf cannot be cast to org.h2.index.PageBtreeNode"; SQL statement: SELECT as pipelineId, as pipelineName, buildCauseType
  • Stack trace

    • org.h2.jdbc.JdbcSQLException: General error: "java.lang.ClassCastException: cannot be cast to" [50000-174] at org.h2.message.DbException.getJdbcSQLException( at org.h2.message.DbException.get( at org.h2.message.DbException.convert( at org.h2.message.DbException.toSQLException( at org.h2.message.TraceObject.logAndConvert( at org.h2.jdbc.JdbcStatement.execute( at org.apache.commons.dbcp.DelegatingStatement.execute( at org.apache.commons.dbcp.DelegatingStatement.execute( at at at at at$ at java.util.concurrent.Executors$ at at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201( at java.util.concurrent.ScheduledThreadPoolExecutor$ at$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: java.lang.ClassCastException: cannot be cast to at at at at at org.h2.engine.Database.commit( at org.h2.engine.Session.commit( at org.h2.command.Command.stop( at org.h2.command.Command.executeUpdate( at org.h2.jdbc.JdbcStatement.executeInternal( at org.h2.jdbc.JdbcStatement.execute( ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.