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
Crash:
java.lang.NoSuchMethodError: java.util.Arrays.copyOf
at com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.copyArrays(CharsToNameCanonicalizer.java:579)
at com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.findSymbol(CharsToNameCanonicalizer.java:494)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.parseName(ReaderBasedJsonParser.java:1210)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:612)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118)
at com.fasterxml.jackson.databind.ObjectMapper.readMapAndClose(ObjectMapper.java:2986)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2091)
Thanks!
The text was updated successfully, but these errors were encountered:
Version 2.3.2 will add a temporary backport of functionality, so that will work on old(er) Android versions.
Not that support will be dropped from 2.4, as per discussions on dev mailing list. But for 2.3.x we can go back, just to give developers bit more time & known working version (so that patch releases can be made for 2.3.x for critical issues).
Hi
I'm having an issues with latest jackson. It crashes on android api8 because it doesn't have Arrays.copyOf().
The easiest fix would be just to replace all calls to Arrays.copyOf() with System.arraycopy()
Gradle config:
compile 'com.fasterxml.jackson.core:jackson-core:2.3.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.0'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.3.0'
Crash:
java.lang.NoSuchMethodError: java.util.Arrays.copyOf
at com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.copyArrays(CharsToNameCanonicalizer.java:579)
at com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.findSymbol(CharsToNameCanonicalizer.java:494)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.parseName(ReaderBasedJsonParser.java:1210)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:612)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118)
at com.fasterxml.jackson.databind.ObjectMapper.readMapAndClose(ObjectMapper.java:2986)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2091)
Thanks!
The text was updated successfully, but these errors were encountered: