axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Devauld" <>
Subject NULL TypeMapping
Date Thu, 30 Jan 2003 00:56:11 GMT
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.


View raw message