stevel      2002/06/27 23:09:23

  Modified:    java/src/org/apache/axis/wsdl/fromJava Types.java
  Log:
  I commented this out so we can get the test data to fix the problem. Added a note 
for anyone debugging the class.
  
  Revision  Changes    Path
  1.38      +5 -0      xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java
  
  Index: Types.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- Types.java        27 Jun 2002 22:54:55 -0000      1.37
  +++ Types.java        28 Jun 2002 06:09:23 -0000      1.38
  @@ -146,9 +146,14 @@
        * @return the QName of the generated Schema type, null if void
        */
       public QName writePartType(Class type, javax.xml.namespace.QName qname) throws 
Exception {
  +        //patch by costin to fix an NPE; commented out till we find out what the 
problem is
  +        //if you get NullPointerExceptions in this class, turn it on and submit some
  +        //replicable test data to the Axis team via bugzilla
  +        /*
           if( type==null ) {
               return null;
           }
  +        */
           if (type.getName().equals("void")) {
             return null;
           }
  
  
  


Reply via email to