fast-serialization icon indicating copy to clipboard operation
fast-serialization copied to clipboard

New fields are being deserialized into null

Open matthew-stevens-qfree opened this issue 1 year ago • 0 comments

Attempting to deserialize an earlier version of an object with the following new field results in the new field being set to null instead of a new list. This causes NPE errors downstream

Using version fst-3.0.1

@Version(3)
private List<MyObject> status = new ArrayList<>();

Also tested with field marked as final

matthew-stevens-qfree avatar Dec 17 '24 21:12 matthew-stevens-qfree