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
MessagePackFactory should override copy method to avoid such exception during ObjectMapper.copy() method invocation:
java.lang.IllegalStateException: Failed copy(): org.msgpack.jackson.dataformat.MessagePackFactory (version: 2.9.4) does not override copy(); it has to
at com.fasterxml.jackson.core.JsonFactory._checkInvalidCopy(JsonFactory.java:332)
at com.fasterxml.jackson.core.JsonFactory.copy(JsonFactory.java:320)
at com.fasterxml.jackson.databind.ObjectMapper.(ObjectMapper.java:499)
at com.fasterxml.jackson.databind.ObjectMapper.copy(ObjectMapper.java:617)
at org.redisson.codec.JsonJacksonCodec.(JsonJacksonCodec.java:106)
at org.redisson.codec.MsgPackJacksonCodec.(MsgPackJacksonCodec.java:31)
Activity
xerial commentedon Jan 29, 2018
@komamitsu What do you think?
komamitsu commentedon Feb 4, 2018
@mrniko Thanks for reporting this issue. Fixed it at #454
mrniko commentedon Apr 13, 2018
@komamitsu Hi! I'm afraid bug is not fixed completely redisson/redisson#1314 (comment)
komamitsu commentedon Apr 14, 2018
Yeah, the test I wrote checked only the case that MessagePackFactory has
ExtensionTypeCustomDeserializers...https://github.com/msgpack/msgpack-java/blob/develop/msgpack-jackson/src/test/java/org/msgpack/jackson/dataformat/MessagePackFactoryTest.java#L69-L79
This can be a workaround. But anyway I'll fix it soon.
mrniko commentedon Apr 16, 2018
@komamitsu
Thank you!