This exception signals that the data stream being read by an ObjectInputStream has been corrupted and does not contain valid serialized object data.
public class StreamCorruptedException extends ObjectStreamException {
// Public Constructors
public StreamCorruptedException(String reason);
public StreamCorruptedException();
}
Object->Throwable(Serializable)->Exception->IOException->ObjectStreamException->StreamCorruptedException
ObjectInputStream(), ObjectInputStream.readStreamHeader()