Sounds like a bug.  Have you tried the latest CVS?  If it fails there, I would submit 
a bug report with a test case showing the problem.  Patches for fixes (make sure ant 
all-tests passes!) in the bug make it even better.


Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Wes Devauld [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 7:56 PM
To: [EMAIL PROTECTED]
Subject: NULL TypeMapping

I'm getting an error when I try to use Java2WSDL.  It is a
java.lang.NullPointerException within org.apache.axis.fromJava.Types when
trying to generate a schema.  it seems that that Types object was
instantiated with a NULL for it's internal TypeMapping (TypeMapping tm)
When the serializer tries to write the schema a call is made to
isSimpleType(Class type), for a java.lang.String class, but when trying to
get the QName for the Class/type the TypeMapping reference is Null.




Does anyone know why the TypeMapping would be set to Null?  Should a check
be made if tm is null to use the defaultTM TypeMapping instead?




Any help, insight or even insults would be appreciated.


-Wes


Reply via email to