Platform: SUSE linux Axis version: Nightly build (7th may) I'm trying to run WSDL2C on an Amazon WSDL ( http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl ). I've written a shell script called "wsdl2c.sh", which consists of this: sh `dirname $0`/axis2.sh org.apache.axis2.wsdl.WSDL2C $* When I run the following: wsdl2c.sh -uri /home/sunildm/sandbox/wsdlstuff/AWSECommerceService.wsdl -d adb -u I get the following NullPointerException. Any idea what could be wrong? Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:256) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:28) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:209) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:47) ... 3 more Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException at org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:237) at org.apache.axis2.schema.SchemaCompiler.writeSimpleType(SchemaCompiler.java:955) at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2254) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:861) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:494) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:454) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1790) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1711) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:967) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:904) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:855) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:494) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:454) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1790) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1711) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:967) at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:876) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:857) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:494) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:465) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:597) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:454) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1790) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1711) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:967) at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:876) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:857) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:494) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:465) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:597) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:454) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1790) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1711) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:967) at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:876) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:857) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:494) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:465) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:300) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:210) at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:75) ... 8 more Caused by: java.lang.NullPointerException at org.apache.axis2.schema.writer.CStructWriter.process(CStructWriter.java:293) at org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:232) ... 48 more --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.