cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r952120 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
Date Mon, 07 Jun 2010 07:05:55 GMT
Author: ningjiang
Date: Mon Jun  7 07:05:54 2010
New Revision: 952120

URL: http://svn.apache.org/viewvc?rev=952120&view=rev
Log:
CXF-2837 Add null pointer check in SoapOutInterceptor

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java?rev=952120&r1=952119&r2=952120&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
Mon Jun  7 07:05:54 2010
@@ -223,6 +223,9 @@ public class SoapOutInterceptor extends 
                     continue;
                 }
                 Object arg = objs.get(part);
+                if (arg == null) {
+                    continue;
+                }
                 objs.remove(part);
                 if (!(startedHeader || preexistingHeaders)) {
                     try {



Mime
View raw message