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

Hibernate JIRA | Michał Kłujszo | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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