java.lang.ClassCastException: org.dom4j.tree.DefaultElement

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 Alexander Kiel, 1 year ago
org.dom4j.tree.DefaultElement
via Hibernate JIRA by Alexander Kiel, 1 year ago
org.dom4j.tree.DefaultElement
java.lang.ClassCastException: org.dom4j.tree.DefaultElement
at org.hibernate.type.ListType.indexOf(ListType.java:49)
at org.hibernate.engine.StatefulPersistenceContext.getIndexInParent(StatefulPersistenceContext.java:1066)
at org.hibernate.engine.StatefulPersistenceContext.getIndexInOwner(StatefulPersistenceContext.java:1041)
at org.hibernate.property.IndexPropertyAccessor$IndexGetter.getForInsert(IndexPropertyAccessor.java:74)
at org.hibernate.tuple.AbstractEntityTuplizer.getPropertyValuesToInsert(AbstractEntityTuplizer.java:264)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.