You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a custom Jackson Deserializer the following test throws a java.lang.IllegalStateException: No ObjectCodec defined for parser, needed for deserialization
Imho the AbstractJackson2Decoder should call tokenBuffer.asParser(getObjectMapper()) instead of tokenBuffer.asParser() since the used NonBlockingJsonParser will always return null for getCodec().
(This solution does work for me)
Johannes Edmeier opened SPR-15975 and commented
When using a custom Jackson Deserializer the following test throws a
java.lang.IllegalStateException: No ObjectCodec defined for parser, needed for deserialization
Imho the
AbstractJackson2Decoder
should calltokenBuffer.asParser(getObjectMapper())
instead oftokenBuffer.asParser()
since the usedNonBlockingJsonParser
will always returnnull
forgetCodec()
.(This solution does work for me)
Affects: 5.0 RC4
Referenced from: commits 74120ef
The text was updated successfully, but these errors were encountered: