← All tasks
javaredisson/redisson #901Not a task: not reproduced

Data deserialization error after upgrade to version 2.9.2

envgap__redisson__redisson-901

01 / FAILURE SIGNATURE

As reported upstream

Caused by: com.fasterxml.jackson.databind.JsonMappingException:
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
4a37a5e4a4c022101556f9d4a6b4e28985b0c82f
Manifest
redisson/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

redisson/redisson #901 · read the original issue
I upgraded Redisson to `2.9.2` and several `JsonMappingException` occurred:

```

Caused by: com.fasterxml.jackson.databind.JsonMappingException: 

        No suitable constructor found for type

```

Looking for why it happened i discovered that it happens because support for `@ConstructorProperties` was added only in Jackson 2.7 version (https://github.com/FasterXML/jackson-databind/issues/905) and in this commit https://github.com/redisson/redisson/commit/c14e97c0688dfdadb89536cf2285c104d35138d7 jackson was downgraded to 2.6.7 to maintain JDK 1.6 compatibility.



According to Jackson release notes, still be possible to use Jackson 2.7 on Java 6: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.7#changes-compatibility



@mrniko can i open a pull request to upgrade jackson to 2.7.6 again?

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]