I\'m getting an error (java.io.StreamCorruptedException: invalid type code: 00) when reading in a serialised object. Here is the class that implements serializable:
Came here to find solution for Mallet classifier deserialization. Finally my problem was that I trained and serialized the model in one Eclipse project and tried to deserialize in another Eclipse project. One of the classes (among those I created) in the serialized object was only on the class path of the former project and not on the class path of the latter.