Skip to content

JsonJacksonCodec constructor in 3.6.1 breaks with Jackson 2.9.x #1314

@tkruse

Description

@tkruse

Using Jackson 2.9.2 and 2.9.4 (tried both), trying to upgrade from Redisson 3.3.2 to 3.6.1 I get this:

Caused by: java.lang.IllegalStateException: Failed copy(): org.msgpack.jackson.dataformat.MessagePackFactory (version: 2.9.2) does not override copy(); it has to
        at com.fasterxml.jackson.core.JsonFactory._checkInvalidCopy(JsonFactory.java:333)
        at com.fasterxml.jackson.core.JsonFactory.copy(JsonFactory.java:320)
        at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:499)
        at com.fasterxml.jackson.databind.ObjectMapper.copy(ObjectMapper.java:617)
        at org.redisson.codec.JsonJacksonCodec.<init>(JsonJacksonCodec.java:107)

Redisson 3.5.7 does not have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions