axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding DeserializerImpl.java
Date Fri, 02 Jul 2004 12:59:03 GMT
ias         2004/07/02 05:59:03

  Modified:    java/src/org/apache/axis/encoding DeserializerImpl.java
  Log:
  Avoid NPE from activeDeserializers in addChildDeserializer(Deserializer).
  
  Revision  Changes    Path
  1.41      +3 -2      ws-axis/java/src/org/apache/axis/encoding/DeserializerImpl.java
  
  Index: DeserializerImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/DeserializerImpl.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- DeserializerImpl.java	26 Apr 2004 11:51:43 -0000	1.40
  +++ DeserializerImpl.java	2 Jul 2004 12:59:03 -0000	1.41
  @@ -261,8 +261,9 @@
           // Keep track of our active deserializers.  This enables us to figure
           // out whether or not we're really done in the case where we get to
           // our end tag, but still have open hrefs for members.
  -        activeDeserializers.add(dSer);
  -        
  +    	if (activeDeserializers != null) {
  +    		activeDeserializers.add(dSer);
  +    	}        
           // In concert with the above, we make sure each field deserializer
           // lets us know when it's done so we can take it off our list.
           dSer.registerValueTarget(new CallbackTarget(this, dSer));
  
  
  

Mime
View raw message