org.apache.axis2.wsdl.codegen.CodeGenerationException

java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException

Solutions on the web62

  • java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
  • via Coderanch by Rene Schubert, 7 months ago
    org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed!
  • java.lang.RuntimeException: org.apache.axis2.databinding.schema.SchemaCompilationException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  • Stack trace

    • 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.processAnonymousComplexSchemaType(SchemaCompiler.java:586) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571) 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.