Skip to content

Commit

Permalink
Fix #4878: NPE for Map-converting serializer (#4926)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder authored Jan 26, 2025
1 parent a6d345c commit 2e74176
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 1,585 deletions.
7 changes: 5 additions & 2 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -1844,9 +1844,12 @@ Maxim Valeev (@MaximValeev)
(2.18.1)

wrongwrong (@k163377)
* Contributed #4749: Fixed problem in StdDelegatingSerializer#serializeWithType where final serializer lookup was done
on the pre-converted value when _delegateSerializer was null
* Contributed #4749: Fixed problem in StdDelegatingSerializer#serializeWithType where final
serializer lookup was done on the pre-converted value when _delegateSerializer was null
(2.18.1)
* Reported #4878: When serializing a Map via Converter(StdDelegatingSerializer),
a NullPointerException is thrown due to missing key serializer
(2.18.3)

Bernd Ahlers (@bernd)
* Reported #4742: Deserialization with Builder, External type id, `@JsonCreator` failing
Expand Down
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Project: jackson-databind
multiple constructors since 2.18
(reported by Tomáš P)
(fix by Joo-Hyuk K, @cowtowncoder)
#4878: When serializing a Map via Converter(StdDelegatingSerializer),
a NullPointerException is thrown due to missing key serializer
(reported by @wrongwrong)
#4908: Deserialization behavior change with @JsonCreator and
@ConstructorProperties between 2.17 and 2.18
(reported by Gustavo B)
Expand Down
Loading

0 comments on commit 2e74176

Please sign in to comment.