ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/message SOAPFaultDetailsBuilder.java
Date Wed, 21 Apr 2004 02:40:35 GMT
dims        2004/04/20 19:40:35

  Modified:    java/src/org/apache/axis/components/encoding
                        XMLEncoderFactory.java
               java/src/org/apache/axis/message
                        SOAPFaultDetailsBuilder.java
  Log:
  Fix NPE
  
  Revision  Changes    Path
  1.4       +1 -1      ws-axis/java/src/org/apache/axis/components/encoding/XMLEncoderFactory.java
  
  Index: XMLEncoderFactory.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/components/encoding/XMLEncoderFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLEncoderFactory.java	19 Apr 2004 17:50:44 -0000	1.3
  +++ XMLEncoderFactory.java	21 Apr 2004 02:40:35 -0000	1.4
  @@ -121,4 +121,4 @@
               }
           }
       }
  -}
  +}
  \ No newline at end of file
  
  
  
  1.19      +3 -1      ws-axis/java/src/org/apache/axis/message/SOAPFaultDetailsBuilder.java
  
  Index: SOAPFaultDetailsBuilder.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/SOAPFaultDetailsBuilder.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- SOAPFaultDetailsBuilder.java	20 Apr 2004 18:28:34 -0000	1.18
  +++ SOAPFaultDetailsBuilder.java	21 Apr 2004 02:40:35 -0000	1.19
  @@ -119,7 +119,7 @@
                   }
               }
   
  -            if (faultDesc == null) {
  +            if (faultDesc == null && op.getFaults() != null) {
                   Iterator i = op.getFaults().iterator();
                   while(i.hasNext()) {
                       FaultDesc fdesc = (FaultDesc) i.next();
  @@ -191,3 +191,5 @@
           
       }
   }
  +
  +
  
  
  

Mime
View raw message