java.lang.ClassCastException

java.lang.Long cannot be cast to java.math.BigDecimal

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 web4

  • via hsqldb by joshir
    ,
  • via hsqldb by mabap
    ,
  • Stack trace

    • java.lang.ClassCastException: java.lang.Long cannot be cast to java.math.BigDecimal at org.hsqldb.rowio.RowOutputBase.writeData(RowOutputBase.java:232) at org.hsqldb.rowio.RowOutputBinary.writeData(RowOutputBinary.java:1) at org.hsqldb.rowio.RowOutputBase.writeData(RowOutputBase.java:187) at org.hsqldb.rowio.RowOutputBinary.writeData(RowOutputBinary.java:1) at org.hsqldb.navigator.RowSetNavigatorData.write(RowSetNavigatorData.java:317) at org.hsqldb.result.Result.write(Result.java:1269) at org.hsqldb.server.ServerConnection.receiveResult(ServerConnection.java:402) at org.hsqldb.server.ServerConnection.run(ServerConnection.java:1533) at java.lang.Thread.run(Thread.java:745)

    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.