-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with jackson 2.12.1 #6
Comments
I looked into the issue but couldn't really make heads or tails out of if. At some point @ghillairet can you have a look and or point me to the right direction? It is easy to reproduce, because the tests fail with the same error, when the version of jackson is lifted. Any Kind of fix should also work with older versions of jackson, as far as I can see. |
Totally agree :) |
The exact modification introducing this regression is Since 2.12.0 ReferenceType is now parameterized. For now, the simplest workaround I found was to use jackson-databind < 2.12 (in my Eclipse target platform). I am now explicitely taking jackson [2.10.3,2.12.0) from http://download.eclipse.org/releases/2020-12, whereas before, 2.12.1 was implicitely taken from http://download.eclipse.org/releases/2021-03 as requirements from my included features (with includeMode="planner"). |
Thanks everyone for looking at this. |
@ghillairet we have the same problem on our project and your fix works for us (thanks!). Did you know when the version 1.3.1 will be released? |
We are currently in the last steps of setting up the build on Eclipse. |
Can you confirm the 1.3.1 has been deployed? Still can't find it on maven repository. |
Yes, the CI work has been finished and the nightly P2 repository now provides the build results after each change in master. So the snapshot versions of 1.3.1 are available via https://download.eclipse.org/emfcloud/emfjson-jackson/p2/nightly Please note that due to the rules of the Eclipse foundation, we had to change the namespace to We'll trigger the release review in the next weeks to be able to do the first official release as an Eclipse project. |
Oh, now I realize you are looking for the m2 dependency. We've only finished the publishing pipeline for the p2 repository at the moment. I'll clarify whether we can also publish the m2 bundles to maven central for nightly builds. |
As it turns out, the nightly builds are already available as m2 via https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emfcloud/emfjson-jackson/ |
I can also confirm the nightly build seems to fix the problems. Tested on eclipse 2021-09 w/ jackson 2.12.1. --> thank you very much!!! |
Hmm, I can observe the same issue with jackson 2.12.6 and jackson 2.13.1, while jackson 2.11.4 works for me |
I'm having the same issue as emfjson/emfjson-jackson#114.
Is there a fix or shall we declare some custom Jackson ObjectMapper ?
cc @juergen-albert @kentxu
The text was updated successfully, but these errors were encountered: