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

NPE in AbstractJAXBProvider.findJAXBContext

XMLWordPrintable

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

      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`.

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

                Created:
                Updated:
                Resolved: