[ https://issues.apache.org/jira/browse/AXIS2-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwin Liem updated AXIS2-5087: ------------------------------ Attachment: singleTypes.xsd CompanyConfirm.wsdl > wsdl2java throws NullPointerException > ------------------------------------- > > Key: AXIS2-5087 > URL: https://issues.apache.org/jira/browse/AXIS2-5087 > Project: Axis2 > Issue Type: Bug > Components: adb > Affects Versions: 1.5.5 > Environment: java version "1.6.0_22" > OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1) > OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) > Linux C-3PO 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 > x86_64 x86_64 x86_64 GNU/Linux > Reporter: Erwin Liem > Attachments: CompanyConfirm.wsdl, singleTypes.xsd > > > according to [AXIS2-1026] such an error message was a bug, but should had > already resolved. I'm using Axis2 1.5.5 and get this message during > generating client stubs. > 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:271) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224) > ... 2 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) > ... 3 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289) > at > org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103) > ... 8 more > Caused by: java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompiler.java:2723) > at > org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2670) > at > org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2704) > at > org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler.java:2644) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:695) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081) > at > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081) > at > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081) > at > org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:980) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:934) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280) > ... 9 more > Can someone help me? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org