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

NPE in MessageModeOutInterceptor.validateFaultDetail for faults with no <detail>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.13, 3.0.2
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When validating a SOAP Fault with no <detail> element, MessageModeOutInterceptor.validateFaultDetail fails with a NPE while trying to find the first child element of the detail element (which is null).

      The fix should be easy: Add a null check before trying to validate a fault detail.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: