java.io.StreamCorruptedException

invalid 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.


rafaelrafael

4A524D49 is the stream header for a Java RMI connection. This error message therefore means that a connection intended for a Java RMI server was sent to a Java ObjectInputStream instead.

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

Solutions on the web556

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737) at java.io.ObjectInputStream.init(ObjectInputStream.java:253) at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:84) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:161) at datasource.DataSourceApp.main(DataSourceApp.java:184)

    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,
    AxeloAxelo
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    tererecooltererecool
    6 times, last one
    47 more bugmates