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

NPE in AbstractJAXBProvider.findJAXBContext

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 3.11.0.Final, 4.5.0.Final
    • None
    • None
    • None

    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

            adamevin andy damevin
            adamevin andy damevin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: