cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r659142 - in /cxf/branches/2.0.x-fixes: ./ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Date Thu, 22 May 2008 16:18:04 GMT
Author: dkulp
Date: Thu May 22 09:18:02 2008
New Revision: 659142

URL: http://svn.apache.org/viewvc?rev=659142&view=rev
Log:
Merged revisions 659126 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r659126 | dkulp | 2008-05-22 10:49:03 -0400 (Thu, 22 May 2008) | 2 lines
  
  [CXF-1603] Add another NPE guard, fix from Benjamin Coiffe applied
........

Modified:
    cxf/branches/2.0.x-fixes/   (props changed)
    cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java

Propchange: cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?rev=659142&r1=659141&r2=659142&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
(original)
+++ cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Thu May 22 09:18:02 2008
@@ -625,7 +625,7 @@
                             bmsg.getMessageParts().remove(mpi);
                         } else if (SOAPBindingUtil.isSOAPBody(content)) {
                             SoapBody sb = SOAPBindingUtil.getSoapBody(content);
-                            if (sb.getParts().size() == 1) {
+                            if (sb.getParts() != null && sb.getParts().size() ==
1) {
                                 partName = (String) sb.getParts().get(0);
                             }
 



Mime
View raw message