java.io.StreamCorruptedException

InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849

Samebug tips2

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 web171

  • via Oracle Community by 807551, 10 months ago
    InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849
  • via Oracle Community by 807555, 1 year ago
    InputStream does not contain a serialized object java.io.StreamCorruptedException: InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader (ObjectInputStream.java:849) at java.io.ObjectInputStream.<init> (ObjectInputStream.java:168)
  • via Oracle Community by 843797, 2 weeks ago
    InputStream does not contain a serialized object java.io.StreamCorruptedException: InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader (ObjectInputStream.java:849) at java.io.ObjectInputStream.<init> (ObjectInputStream.java:168)
  • Stack trace

    • java.io.StreamCorruptedException: InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168)

    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, 2 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 8 months ago
    6 times, 10 months ago
    48 more bugmates