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 Michał Kłujszo, 1 year ago
org.dom4j.tree.DefaultElement
via Hibernate JIRA by Michał Kłujszo, 1 year ago
org.dom4j.tree.DefaultElement
java.lang.ClassCastException: org.dom4j.tree.DefaultElement
at org.hibernate.type.DynamicComponentType.setPropertyValues(DynamicComponentType.java:102)
at org.hibernate.tuple.AbstractTuplizer.setIdentifier(AbstractTuplizer.java:126)
at org.hibernate.tuple.AbstractTuplizer.instantiate(AbstractTuplizer.java:223)
at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:977)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:824)
at org.hibernate.loader.Loader.getRow(Loader.java:746)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:290)
at org.hibernate.loader.Loader.doQuery(Loader.java:384)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:203)
at org.hibernate.loader.Loader.doList(Loader.java:1499)
at org.hibernate.loader.Loader.list(Loader.java:1482)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:268)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:782)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at pzl.copier.Tester.main(Tester.java:38)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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