Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5872

JAXB Dispatch clients try to create a JAX-WS exception and NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.11, 3.0
    • 2.6.15, 2.7.12, 3.0.1
    • JAX-WS Runtime
    • None
    • Unknown

    Description


      JAX-WS Dispatch clients using a JAXB Context will use the context to parse returned faults into a JAXB object. However, the next step in the ClientFaultConverter is to try and create an Exception object that is throwable from that. Since Dispatch objects don't have the generated exceptions, this results in a null class and the cls.getConstructor calls will NPE. Should just allow the default SOAPFaultException for dispatch clients.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: