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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.11, 3.0
    • Fix Version/s: 2.6.15, 2.7.12, 3.0.1
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: