java.io.StreamCorruptedException

InputStream does not contain a serialized object

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.


rafaelrafael

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


rafaelrafael

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

Solutions on the web574

  • via strutstestcase by chanche3
    ,
  • via Unknown by Monojit Choudhury,
  • via Unknown by monojit choudhury,
  • Stack trace

    • java.io.StreamCorruptedException: InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:148) at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422) at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130) at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    48 more bugmates