[jackson-user] Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

2016-08-11 Thread JonyD
In https://github.com/FasterXML/jackson-databind/blob/master/src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java the method findSerializationType is deprecated since v2.7 and returns always null. The method refineSerializationType (which is the new method that should be used

Re: [jackson-user] Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

2016-08-11 Thread Tatu Saloranta
Your suggestion sounds plausible, but to fix it, as well as to guard against regression, it would be necessary to have a way to reproduce the problem. So if there is any way you could suggest a way to trigger the problem that would be great. Exception, however, would seem to indicate some other ki

Re: [jackson-user] Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

2016-08-12 Thread JonyD
I've created a repo in https://github.com/JonyD/my-app with a failing test. The pom.xml is a bit messy but it's important because of dependencies. just do "mvn clean install" to run the failing test. I hope this helps and hope you can find the bug. Notice that with jackson version 2.4.6 the test

Re: [jackson-user] Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

2016-08-16 Thread Tatu Saloranta
Thanks; I filed: https://github.com/FasterXML/jackson-databind/issues/1338 for this issue. -+ Tatu +- On Fri, Aug 12, 2016 at 5:11 AM, JonyD wrote: > I've created a repo in https://github.com/JonyD/my-app with a failing > test. > The pom.xml is a bit messy but it's important because of depe

Re: [jackson-user] Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

2016-09-08 Thread Tatu Saloranta
As a follow up, turns out that the problem is, as far as I can see: https://github.com/FasterXML/jackson-databind/issues/1338 in the code itself. Issue has full detail, but basically Jackson is indicating a real problem in annotation for @JsonSerialize( keyAs=String.class) public Map getReve