Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2489

NPE in AbstractJAXBProvider.findJAXBContext

    XMLWordPrintable

    Details

      Description

      On Quarkus, due to a bad configuration, in `AbstractJAXBProvider.findJAXBContext` we ended up having `this.providers.getContextResolver` returning `null` resulting in an NPE on the next line:
      https://github.com/quarkusio/quarkus/issues/6974

      Since `Providers.getContextResolver` clearly state it could return null, this should be handled properly in `AbstractJAXBProvider.findJAXBContext`.

        Attachments

          Activity

            People

            Assignee:
            ia3andy andy damevin
            Reporter:
            ia3andy andy damevin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: