Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE with returnFire field. #11729

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Conversation

asvitkine
Copy link
Contributor

@asvitkine asvitkine commented Jul 4, 2023

Change Summary & Additional Notes

The field was marked as transient in two classes, meaning it would not be serialized and was null on deserialization, but the code did not handle it properly. Since the leaf code using it was marked with @RemoveOnNextMajorRelease and could handle null, simply remove the non-null tag and propagate the deprecation tag.

Fixes #11097.
Issue was introduced by: #7497 (2.6 problem)

Release Note

The field was marked as transient in two classes, meaning it would not be serialized and was null on deserialization, but the code did not handle it properly. Since the leaf code using it was marked with  `@RemoveOnNextMajorRelease` and could handle null, simply remove the non-null tag and propagate the deprecation tag.

Fixes triplea-game#11097.
@asvitkine asvitkine merged commit 7db4403 into triplea-game:master Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.6+14163: FireRoundStepsFactory#<init>:20 - java.lang.NullPointerException
1 participant