java.lang.ClassCastException: java.util.HashMap

Hibernate JIRA | J-C | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BlazeDs java.lang.Double cannot be cast to java.lang.Float

    tagwith.com | 1 year ago
    javax.ejb.EJBTransactionRolledbackException: java.lang.Double cannot be cast to java.lang.Float
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    HSQLDB 2.0, Hibernate 3.3.1, @Lob

    hsqldb | 7 years ago | *anonymous
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.sql.Blob
  4. 0

    BlazeDs java.lang.Double cannot be cast to java.lang.Float

    Stack Overflow | 2 years ago | Graziana Binetti
    javax.ejb.EJBTransactionRolledbackException: java.lang.Double cannot be cast to java.lang.Float

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashMap

      at org.hibernate.type.BlobType.set()
    2. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.type.BlobType.set(BlobType.java:49)
      2. org.hibernate.type.BlobType.nullSafeSet(BlobType.java:122)
      3. org.hibernate.type.ComponentType.nullSafeSet(ComponentType.java:261)
      4. org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1816)
      5. org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1793)
      6. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:1940)
      7. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2395)
      7 frames
    3. Hibernate
      EntityIdentityInsertAction.execute
      1. org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:37)
      1 frame
    4. Hibernate
      ActionQueue.execute
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
      1 frame