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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

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

We couldn't find other users who have seen this exception.