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

NullPointerException in JbiConduitOutputStream

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.1, 2.0.7
    • Component/s: Transports
    • Labels:
      None

      Description

      When MessageExchange contains no fault but error this code causes NPE:

      NormalizedMessage outMsg = ((InOut)xchng).getOutMessage();
      Source content = null;
      if (outMsg != null) {
      content = outMsg.getContent();
      } else {
      content = ((InOut)xchng).getFault().getContent();
      }

      There should be some checking for error if there is no fault present.

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              wbaran WB
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: