cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asold...@apache.org
Subject svn commit: r1340102 - /cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java
Date Fri, 18 May 2012 14:22:44 GMT
Author: asoldano
Date: Fri May 18 14:22:44 2012
New Revision: 1340102

URL: http://svn.apache.org/viewvc?rev=1340102&view=rev
Log:
[CXF-4321] Prevent NPE

Modified:
    cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java

Modified: cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java?rev=1340102&r1=1340101&r2=1340102&view=diff
==============================================================================
--- cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java (original)
+++ cxf/trunk/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXInInterceptor.java Fri May
18 14:22:44 2012
@@ -60,7 +60,7 @@ public class MEXInInterceptor extends Ab
         if (action == null) {
             AddressingProperties inProps = (AddressingProperties)message
                 .getContextualProperty(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
-            if (inProps != null) {
+            if (inProps != null && inProps.getAction() != null) {
                 action = inProps.getAction().getValue();
             }
         }



Mime
View raw message