Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-16219

Camel-Swagger incompatible with fasterxml-jackson-2.12.1

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • None
    • fuse-7.9-GA
    • Camel
    • None

    Description

      EAP 7.4 upgraded from `fasterxml-jackson-2.10.5` to `fasterxml-jackson-2.12.1` and now we see ...

       

      
      Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.introspect.AnnotatedMember.getType(Lcom/fasterxml/jackson/databind/type/TypeBindings;)Lcom/fasterxml/jackson/databind/JavaType;
       at org.apache.camel.component.swagger//io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:425)
       at org.apache.camel.component.swagger//io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:203)
       at org.apache.camel.component.swagger//io.swagger.converter.ModelConverterContextImpl.resolve(ModelConverterContextImpl.java:103)
       at org.apache.camel.component.swagger//io.swagger.converter.ModelConverters.read(ModelConverters.java:76)
       at org.apache.camel.component.swagger//io.swagger.converter.ModelConverters.read(ModelConverters.java:67)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestModelConverters.readClass(RestModelConverters.java:33)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestSwaggerReader.appendModels(RestSwaggerReader.java:755)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestSwaggerReader.parse(RestSwaggerReader.java:227)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestSwaggerReader.read(RestSwaggerReader.java:113)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestSwaggerSupport.renderResourceListing(RestSwaggerSupport.java:224)
       at org.apache.camel.component.swagger//org.apache.camel.swagger.RestSwaggerProcessor.process(RestSwaggerProcessor.java:119)
       at org.apache.camel.core@2.23.2.fuse-790035//org.apache.camel.component.rest.RestApiProducer.process(RestApiProducer.java:36)
      
      

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: