java.lang.ClassCastException

java.lang.String cannot be cast to oracle.sql.BLOB

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 web19422

  • java.lang.String cannot be cast to oracle.sql.BLOB
  • [B cannot be cast to oracle.sql.BLOB
  • grails.plugin.lazylob.LazyBlob cannot be cast to oracle.sql.BLOB
  • Stack trace

    • java.lang.ClassCastException: java.lang.String cannot be cast to oracle.sql.BLOB at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:8864) at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8396) at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8980) at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:242)

    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

    Unknown user
    Once, 11 months ago