[ http://issues.apache.org/jira/browse/AXIS2-593?page=comments#action_12421806 ] Ole Dalgaard commented on AXIS2-593: ------------------------------------
I have attached the wsdl file. Here is the stacktrace using AXIS2 1.0: C:\java\axis2-1.0\bin>WSDL2Java.bat -uri http://192.168.104.15/mm/IndsendSagWS/services/IndsendSagWS/wsdl/IndsendSagWS.wsdl Using AXIS2_HOME: C:\java\axis2-1.0 Using JAVA_HOME: C:\jdk1.5.0_04 Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) ... 2 more Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:186) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70) ... 3 more Caused by: java.lang.NullPointerException at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181) ... 4 more C:\java\axis2-1.0\bin> > NullPointerException in SchemaCompiler > -------------------------------------- > > Key: AXIS2-593 > URL: http://issues.apache.org/jira/browse/AXIS2-593 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl, Tools > Affects Versions: 0.95 > Environment: win xp and java 1.4.2_08 > Reporter: Ole Dalgaard > Assigned To: Ajith Harshana Ranabahu > Priority: Critical > Attachments: IndsendSagWS.wsdl > > > C:\java\axis2-0.95\bin>WSDL2Java.bat -s -uri > file:/projects/foo/cfg/wsdls/fooWS.wsdl -o > c:\projects\foo\src-generated-client > Using AXIS2_HOME: C:\java\axis2-0.95 > Using JAVA_HOME: C:\j2sdk1.4.2_08 > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:146) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:162) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101) > ... 2 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184) > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631) > at > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631) > at > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179) > ... 4 more > I am unable to attach the wsdl to this issue. I am able to mail it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
