cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r656646 - /cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
Date Thu, 15 May 2008 13:09:21 GMT
Author: ffang
Date: Thu May 15 06:09:20 2008
New Revision: 656646

URL: http://svn.apache.org/viewvc?rev=656646&view=rev
Log:
[CXF-1588]NullPointerException in JbiConduitOutputStream

Modified:
    cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java

Modified: cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java?rev=656646&r1=656645&r2=656646&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
(original)
+++ cxf/branches/2.0.x-fixes/rt/transports/jbi/src/main/java/org/apache/cxf/transport/jbi/JBIConduitOutputStream.java
Thu May 15 06:09:20 2008
@@ -129,6 +129,9 @@
                     if (outMsg != null) {
                         content = outMsg.getContent();
                     } else {
+                        if (((InOut)xchng).getFault() == null) {
+                            throw xchng.getError();
+                        }
                         content = ((InOut)xchng).getFault().getContent();
                     }
                     Message inMessage = new MessageImpl();



Mime
View raw message