java.lang.ClassCastException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by David Tashima, 1 year ago
This exception has no message.
via Hibernate JIRA by David Tashima, 1 year ago
This exception has no message.
java.lang.ClassCastException:
at org.hibernate.type.CalendarDateType.fromStringValue(CalendarDateType.java:54)
at org.hibernate.type.NullableType.fromXMLString(NullableType.java:149)
at org.hibernate.type.NullableType.fromXMLNode(NullableType.java:173)
at org.hibernate.property.Dom4jAccessor$ElementGetter.get(Dom4jAccessor.java:194)
at org.hibernate.property.Dom4jAccessor$Dom4jGetter.getForInsert(Dom4jAccessor.java:94)
at org.hibernate.tuple.AbstractEntityTuplizer.getPropertyValuesToInsert(AbstractEntityTuplizer.java:264)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:244)
at org.hibernate.event.def.DefaultReplicateEventListener.onReplicate(DefaultReplicateEventListener.java:117)
at org.hibernate.impl.SessionImpl.fireReplicate(SessionImpl.java:854)
at undefined.DonutTest.reconstitute(DonutTest.java:57)
at undefined.DonutTest.main(DonutTest.java:35)

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.

Write tip

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