[ https://issues.apache.org/jira/browse/AXIS2C-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Voelkle updated AXIS2C-609: ---------------------------------- Attachment: test.wsdl >From AXIS2-1867 > NullPointerException generating WSDL with anonymous simple types > ---------------------------------------------------------------- > > Key: AXIS2C-609 > URL: https://issues.apache.org/jira/browse/AXIS2C-609 > Project: Axis2-C > Issue Type: Bug > Components: wsdl2c tool > Affects Versions: 1.0.0 > Reporter: Martin Voelkle > Attachments: test.wsdl > > > I am having the same issue as in AXIS2-1867, using the same test case with > today's nightly build (2007-05-30), but getting a different stack trace: > >wsdl2c.bat -uri test.wsdl -d adb -u > Using AXIS2_HOME: S:\Java-Tools\Apache\axis2-2007-05-30 > Using JAVA_HOME: C:\Program Files\Java\jre1.6.0_01 > 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(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > 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:2446) > 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:1857) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1778) > 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:1857) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1778) > 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) > ... 30 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]