cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WB (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1588) NullPointerException in JbiConduitOutputStream
Date Thu, 15 May 2008 08:13:55 GMT
NullPointerException in JbiConduitOutputStream
----------------------------------------------

                 Key: CXF-1588
                 URL: https://issues.apache.org/jira/browse/CXF-1588
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.1.1
            Reporter: WB
            Priority: Critical


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message