Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Francisco Philip, 2 years ago
java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection
via Hibernate JIRA by Francisco Philip, 1 year ago
java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection
java.lang.ClassCastException: java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection	at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57)	at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122)	at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83)