It keeps throwing StreamCorruptedException. Here is the error I get after doing what I did above:
java.io.StreamCorruptedException: invalid stream header: 79737200
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at ReadData.openfile(ReadData.java:15)
at SerializationTest.main(SerializationTest.java:12)
This post has been edited by IceHot: 30 January 2013 - 09:47 PM

New Topic/Question
Reply




MultiQuote


|