Skip to content

Commit 2e74176

Browse files
authored
Fix #4878: NPE for Map-converting serializer (#4926)
1 parent a6d345c commit 2e74176

File tree

5 files changed

+79
-1585
lines changed

5 files changed

+79
-1585
lines changed

release-notes/CREDITS-2.x

+5-2
Original file line numberDiff line numberDiff line change
@@ -1844,9 +1844,12 @@ Maxim Valeev (@MaximValeev)
18441844
(2.18.1)
18451845

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

18511854
Bernd Ahlers (@bernd)
18521855
* Reported #4742: Deserialization with Builder, External type id, `@JsonCreator` failing

release-notes/VERSION-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Project: jackson-databind
1818
multiple constructors since 2.18
1919
(reported by Tomáš P)
2020
(fix by Joo-Hyuk K, @cowtowncoder)
21+
#4878: When serializing a Map via Converter(StdDelegatingSerializer),
22+
a NullPointerException is thrown due to missing key serializer
23+
(reported by @wrongwrong)
2124
#4908: Deserialization behavior change with @JsonCreator and
2225
@ConstructorProperties between 2.17 and 2.18
2326
(reported by Gustavo B)

0 commit comments

Comments
 (0)