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

Hibernate JIRA | Francisco Philip | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    mode « Transaction « JPA Q&A

    java2s.com | 1 year 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

    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