java.io.StreamCorruptedException: Caught EOFException while reading the 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 Coderanch by VEDA NARAYAN, 1 year ago
Caught EOFException while reading the stream header
via Coderanch by VEDA NARAYAN, 1 year ago
Caught EOFException while reading the stream header
via Google Groups by emil zu K., 6 months ago
invalid stream header: 7F454C46
via Apache Bugzilla by achan, 1 year ago
Caught EOFException while reading the stream h eader
via Stack Overflow by De Lena
, 1 year ago
via Google Groups by tukker, 2 years ago
java.io.StreamCorruptedException: Caught EOFException while reading the stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:845)
at java.io.ObjectInputStream.(ObjectInputStream.java:168)
at org.apache.catalina.util.CustomObjectInputStream.(CustomObjectInputStream.java:103)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:379)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:617)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1104)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3371)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)

Users with the same issue

Once, 1 month ago
Once, 5 months ago
Once, 5 months ago
Once, 8 months ago
6 times, 1 year ago

Write tip

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