We're using link os in one of our apps to print to Zebra printers but occasionally we run into this error (error log below). We were using the 2.8.5 version of jackson-databind initially but we tried using 2.9.9 and the jars found here https://github.com/ZebraDevs/LinkOS-Android-Samples/tree/ZSDK_DevDemos_Combined/ZSDK_DevDemos_Combined/app/libs - which are 2.2.3. Any thoughts on how to fix or avoid this issue?
2023-08-07 13:25:55.564 4411-4411/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.sciaps.xrf, PID: 4411
java.lang.NoClassDefFoundError: com.fasterxml.jackson.databind.util.ArrayIterator
at com.fasterxml.jackson.databind.cfg.DeserializerFactoryConfig.deserializers(DeserializerFactoryConfig.java:189)
at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory._findCustomTreeNodeDeserializer(BasicDeserializerFactory.java:1627)
at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.createTreeDeserializer(BasicDeserializerFactory.java:1285)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:401)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:349)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:476)
at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3899)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3794)
at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2404)
at com.zebra.sdk.settings.internal.JsonHelper.isValidJson(Unknown Source)
at com.zebra.sdk.settings.internal.JsonValidator.isResponseComplete(Unknown Source)
at com.zebra.sdk.comm.ConnectionA.sendAndWaitForValidResponse(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.getDiscoMapViaJson(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.queryVersionInfoOverSingleChannel(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.queryVersionNumber(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.obtainVersion(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.createLinkOsPrinterFromStandardConnection(Unknown Source)
at com.zebra.sdk.printer.internal.LinkOsPrinterCreatorSgdOrJson.create(Unknown Source)
at com.zebra.sdk.printer.internal.ZebraPrinterFactoryHelper.createLinkOsPrinter(Unknown Source)
at com.zebra.sdk.printer.ZebraPrinterFactory.createLinkOsPrinter(Unknown Source)
at com.sciaps.image_printer.ZebraPrinter.print(ZebraPrinter.java:123)
at com.sciaps.image_printe
0 Replies