java.lang.ClassCastException: java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection

Hibernate JIRA | Francisco Philip | 6 years ago
  1. 0

    mode « Transaction « JPA Q&A

    java2s.com | 11 months ago
    java.lang.ClassCastException: org.dom4j.tree.DefaultElement cannot be cast to org.hibernate.collection.PersistentCollection
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    LibsDisguise HashSet Class Exception Errors

    GitHub | 11 months ago | mibby
    java.lang.ClassCastException: java.util.HashMap$KeySet cannot be cast to java.util.HashSet
  4. 0

    Async Bind by product ID Job throws ClassCastException

    https://bugzilla.redhat.com/bugzilla/ | 9 months ago | Michael Stead
    org.quartz.JobExecutionException: java.util.ArrayList cannot be cast to java.util.HashSet

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection

      at org.hibernate.event.def.FlushVisitor.processCollection()
    2. Hibernate
      AbstractVisitor.processValue
      1. org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57)
      2. org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122)
      3. org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83)
      3 frames