axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r375578 - /webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java
Date Tue, 07 Feb 2006 11:25:46 GMT
Author: ruchithf
Date: Tue Feb  7 03:25:37 2006
New Revision: 375578

URL: http://svn.apache.org/viewcvs?rev=375578&view=rev
Log:
Preventing an NPE

Modified:
    webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java

Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java?rev=375578&r1=375577&r2=375578&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/WSDoAllReceiver.java
Tue Feb  7 03:25:37 2006
@@ -326,8 +326,10 @@
         } catch (AxisFault axisFault) {
             throw axisFault;
         } finally {
-            reqData.clear();
-            reqData = null;
+            if(reqData != null) {
+                reqData.clear();
+                reqData = null;
+            }
             
             /**
              * Temporary solution until DOOM's DocumentBuilder module is done.



Mime
View raw message