Skip to content

New fields are being deserialized into null #352

@matthew-stevens-qfree

Description

@matthew-stevens-qfree

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions