axis-java-dev 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/encoding DeserializationContext.java
Date Fri, 21 Jan 2005 16:57:31 GMT
dims        2005/01/21 08:57:31

  Modified:    java/src/org/apache/axis/encoding
                        DeserializationContext.java
  Log:
  Fix for AXIS-1769 - Null Pointer when creating a SOAPEnvelope with a SOAP message containing
a SOAP Fault
  from Joshua Hendrick (jhendrick@parasoft.com)
  
  URL: http://issues.apache.org/jira/browse/AXIS-1769
  
  Revision  Changes    Path
  1.62      +1 -1      ws-axis/java/src/org/apache/axis/encoding/DeserializationContext.java
  
  Index: DeserializationContext.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/DeserializationContext.java,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- DeserializationContext.java	1 Dec 2004 23:16:22 -0000	1.61
  +++ DeserializationContext.java	21 Jan 2005 16:57:31 -0000	1.62
  @@ -552,7 +552,7 @@
        */
       public TypeMapping getTypeMapping()
       {
  -        if (msgContext == null) {
  +        if (msgContext == null || msgContext.getTypeMappingRegistry() == null) {
               return (TypeMapping) new org.apache.axis.encoding.TypeMappingRegistryImpl().getTypeMapping(
                       null);
           }
  
  
  

Mime
View raw message