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

Hibernate JIRA | Michał Kłujszo | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.dom4j.tree.DefaultElement

      at org.hibernate.type.ComponentType.toLoggableString()
    2. Hibernate
      BasicEntityPersister.getCurrentVersion
      1. org.hibernate.type.ComponentType.toLoggableString(ComponentType.java:279)
      2. org.hibernate.pretty.MessageHelper.infoString(MessageHelper.java:68)
      3. org.hibernate.persister.entity.BasicEntityPersister.getCurrentVersion(BasicEntityPersister.java:1043)
      3 frames
    3. Hibernate
      SessionImpl.replicate
      1. org.hibernate.event.def.DefaultReplicateEventListener.onReplicate(DefaultReplicateEventListener.java:76)
      2. org.hibernate.impl.SessionImpl.replicate(SessionImpl.java:639)
      2 frames