Example

public static class SerializableObject implements Serializable{

synchronized private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
s.defaultReadObject();
}
}

Solution
Declare readObject() with out synchronized modifier

public static class SerializableObject implements Serializable{

private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
s.defaultReadObject();
}
}