I have a wierd error at the moment and not sure how to deal with it. I have some code that writes 3 objects to a file on the local file system and then some code to read back the first 2 of those objects later on.
This works perfectly fine for myself and many other people in my London office, but fails for one person in an Oslo office.
Serialisation code is:
De-serialisation code is (where storyDetails is an Object array):
I get an java.io.StreamCorruptedException: invalid stream header error in the de-serialisation code. I am at a bit of a loss at how to proceed because this works for most other people.
Has anyone had a similar problem before? Could it possibly have something to do with different JRE's or O/S's?