java.io.StreamCorruptedException: invalid stream header

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

,
Expert tip

Update Tomcat container adapters to 1.0.0.CR8 or further. If that doesn't work, 0D0A3C21 in ASCII is <!, first characters in a HTML file, so, check if you're not reading a different file or if there's an issue with your deserialization.

,
Expert tip

If you're using Liferay, check the steps in the last message on how to fix it: https://goo.gl/feXWKU

Solutions on the web

via Hibernate JIRA by David Mansfield, 1 year ago
invalid stream header
via Hibernate JIRA by David Mansfield, 1 year ago
invalid stream header
via wordpress.com by Unknown author, 1 year ago
invalid stream header: 52657175
via openephyra by schreiter
, 1 year ago
invalid stream header: C2ACC3AD
java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
at java.io.ObjectInputStream.(ObjectInputStream.java:277)
at org.hibernate.util.SerializationHelper$CustomObjectInputStream.(SerializationHelper.java:252)
at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:209)
at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:240)
at org.hibernate.type.SerializableType.fromBytes(SerializableType.java:82)
at org.hibernate.type.SerializableType.get(SerializableType.java:39)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 3 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 6 months ago
50 more bugmates

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