Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2692

Upgrade jackson to 2.16.0

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • All
    • GreenHopper Ranking:
      0|i2wqjf:
    • 9223372036854775807
    • Small

    Description

      When we tried to update jackson version to 2.16.0. The check connection failed with:

      [2024-03-28T03:41:33,000][WARN ][oundedElastic-2][       reactor.core.Exceptions] throwIfFatal detected a jvm fatal exception, which is thrown and logged below:
      java.lang.LinkageError: Package versions: jackson-core=2.15.2, jackson-databind=2.15.2, jackson-dataformat-xml=2.16.0, jackson-datatype-jsr310=2.16.0, azure-core=1.46.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
      	at com.azure.core.implementation.jackson.ObjectMapperShim.readValue(ObjectMapperShim.java:242) ~[ObjectMapperShim.class:1.46.0]
      	at com.azure.core.util.serializer.JacksonAdapter.lambda$deserialize$9(JacksonAdapter.java:344) ~[JacksonAdapter.class:1.46.0]
      	at com.azure.core.util.serializer.JacksonAdapter.useAccessHelper(JacksonAdapter.java:484) ~[JacksonAdapter.class:1.46.0]
      	at com.azure.core.util.serializer.JacksonAdapter.deserialize(JacksonAdapter.java:339) ~[JacksonAdapter.class:1.46.0]
      	at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserialize(HttpResponseBodyDecoder.java:177) ~[HttpResponseBodyDecoder.class:1.46.0]
      	at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserializeBody(HttpResponseBodyDecoder.java:150) ~[HttpResponseBodyDecoder.class:1.46.0]
      	at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.decodeByteArray(HttpResponseBodyDecoder.java:93) ~[HttpResponseBodyDecoder.class:1.46.0]
      	at com.azure.core.implementation.serializer.HttpResponseDecoder$HttpDecodedResponse.getDecodedBody(HttpResponseDecoder.java:93) ~[HttpResponseDecoder$HttpDecodedResponse.class:1.46.0]
      	at com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$decodeBytes$8(AsyncRestProxy.java:164) ~[AsyncRestProxy.class:1.46.0]
      	at reactor.core.publisher.MonoCallable.call(MonoCallable.java:92) ~[MonoCallable.class:3.4.34]
      	at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:227) [FluxSubscribeOnCallable$CallableSubscribeOnSubscription.class:3.4.34]
      	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68) [SchedulerTask.class:3.4.34]
      	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28) [SchedulerTask.class:3.4.34]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
      	at java.lang.Thread.run(Thread.java:833) [?:?]
      Caused by: java.lang.NoSuchMethodError: 'boolean com.fasterxml.jackson.databind.JavaType.isIterationType()'
      	at com.fasterxml.jackson.dataformat.xml.util.TypeUtil.isIndexedType(TypeUtil.java:14) ~[?:?]
      	at com.fasterxml.jackson.dataformat.xml.deser.WrapperHandlingDeserializer.createContextual(WrapperHandlingDeserializer.java:87) ~[?:?]
      	at com.fasterxml.jackson.databind.DeserializationContext.handlePrimaryContextualization(DeserializationContext.java:836) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:550) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer.resolve(DelegatingDeserializer.java:60) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.DeserializationContext.findNonContextualValueDeserializer(DeserializationContext.java:644) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:539) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer.resolve(DelegatingDeserializer.java:60) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:621) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:188) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:28) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.DeserializationContext.handlePrimaryContextualization(DeserializationContext.java:836) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:550) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer.resolve(DelegatingDeserializer.java:60) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.DeserializationContext.findNonContextualValueDeserializer(DeserializationContext.java:644) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:539) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer.resolve(DelegatingDeserializer.java:60) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:654) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:4956) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4826) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3866) ~[jackson-databind-2.15.2.jar:2.15.2]
      	at com.azure.core.implementation.jackson.ObjectMapperShim.readValue(ObjectMapperShim.java:240) ~[ObjectMapperShim.class:1.46.0]
      	... 17 more
      	Suppressed: java.lang.NoSuchMethodError: 'void com.fasterxml.jackson.core.io.IOContext.close()'
      		at com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser.close(FromXmlParser.java:521) ~[?:?]
      		at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4833) ~[jackson-databind-2.15.2.jar:2.15.2]
      		at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3866) ~[jackson-databind-2.15.2.jar:2.15.2]
      		at com.azure.core.implementation.jackson.ObjectMapperShim.readValue(ObjectMapperShim.java:240) ~[ObjectMapperShim.class:1.46.0]
      		at com.azure.core.util.serializer.JacksonAdapter.lambda$deserialize$9(JacksonAdapter.java:344) ~[JacksonAdapter.class:1.46.0]
      		at com.azure.core.util.serializer.JacksonAdapter.useAccessHelper(JacksonAdapter.java:484) ~[JacksonAdapter.class:1.46.0]
      		at com.azure.core.util.serializer.JacksonAdapter.deserialize(JacksonAdapter.java:339) ~[JacksonAdapter.class:1.46.0]
      		at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserialize(HttpResponseBodyDecoder.java:177) ~[HttpResponseBodyDecoder.class:1.46.0]
      		at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserializeBody(HttpResponseBodyDecoder.java:150) ~[HttpResponseBodyDecoder.class:1.46.0]
      		at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.decodeByteArray(HttpResponseBodyDecoder.java:93) ~[HttpResponseBodyDecoder.class:1.46.0]
      		at com.azure.core.implementation.serializer.HttpResponseDecoder$HttpDecodedResponse.getDecodedBody(HttpResponseDecoder.java:93) ~[HttpResponseDecoder$HttpDecodedResponse.class:1.46.0]
      		at com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$decodeBytes$8(AsyncRestProxy.java:164) ~[AsyncRestProxy.class:1.46.0]
      		at reactor.core.publisher.MonoCallable.call(MonoCallable.java:92) ~[MonoCallable.class:3.4.34]
      		at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:227) [FluxSubscribeOnCallable$CallableSubscribeOnSubscription.class:3.4.34]
      		at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68) [SchedulerTask.class:3.4.34]
      		at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28) [SchedulerTask.class:3.4.34]
      		at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      		at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
      		at java.lang.Thread.run(Thread.java:833) [?:?] 

      So need to update the Jackson version to 2.16.0 for component server

      Attachments

        Activity

          People

            emmanuel_g emmanuel gallois
            zhao_jin Zhao Jin
            emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: