java.io.StreamCorruptedException

Caught EOFException while reading the stream header

Samebug tips3

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 file of a different type or if there's an issue with your deserialization.

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web710

  • via Netbeans Bugzilla by janpalka, 1 year ago
    Caught EOFException while reading the stream header
  • Caught EOFException while reading the stream header
  • via Google Groups by Mandar Gandhe, 1 year ago
    Caught EOFException while reading the stream header
  • Stack trace

    • java.io.StreamCorruptedException: Caught EOFException while reading the stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:845) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168) at org.apache.catalina.util.CustomObjectInputStream.<init>(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) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Once, 3 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 8 months ago
    6 times, 10 months ago
    48 more bugmates