Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4353

Define missing versions of Jackson modules

    XMLWordPrintable

Details

    Description

      The versions of all the Jackson artifacts used are not properly defined thus leading to issues when building native images.

      2021-02-04T05:33:08.1547947Z Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.fasterxml.jackson.datatype.jdk8.OptionalDoubleDeserializer._checkDoubleSpecialValue(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. 2021-02-04T05:33:08.1552387Z Trace: 2021-02-04T05:33:08.1554415Z at parsing com.fasterxml.jackson.datatype.jdk8.OptionalDoubleDeserializer.deserialize(OptionalDoubleDeserializer.java:39) 2021-02-04T05:33:08.1558154Z Call path from entry point to com.fasterxml.jackson.datatype.jdk8.OptionalDoubleDeserializer.deserialize(JsonParser, DeserializationContext): 2021-02-04T05:33:08.1562084Z at com.fasterxml.jackson.datatype.jdk8.OptionalDoubleDeserializer.deserialize(OptionalDoubleDeserializer.java:29) 2021-02-04T05:33:08.1565883Z at com.fasterxml.jackson.datatype.jdk8.OptionalDoubleDeserializer.deserialize(OptionalDoubleDeserializer.java:13) 2021-02-04T05:33:08.1568707Z at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4526) 2021-02-04T05:33:08.1570543Z at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3505) 2021-02-04T05:33:08.1573433Z at org.jboss.resteasy.plugins.providers.jackson.PatchMethodFilter.filter(PatchMethodFilter.java:164) 2021-02-04T05:33:08.1577118Z at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:312) 2021-02-04T05:33:08.1582105Z at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
      
      

       

      I tried to use the Jackson BOM but things didn't work very well so I decided to just add the missing ones for now.

       

      PR coming.

      Attachments

        Activity

          People

            evacchi Edoardo Vacchi (Inactive)
            gsmet@redhat.com Guillaume Smet
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: