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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.13, 3.0.2
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: