Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-365

Exception throws when use WSDL2C java code generation tool to generate c code with adb databinding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • code generation
    • None

    Description

      When try to generate code for XSDElementNil.wsdl which inside axis2c svn WSDL2C gives following exception

      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:224)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
      at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:27)
      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:585)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:52)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
      ... 7 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:585)
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:49)
      ... 8 more
      Caused by: org.apache.axis2.schema.SchemaCompilationException: Not implemented yet
      at org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:187)
      at org.apache.axis2.schema.SchemaCompiler.writeSimpleType(SchemaCompiler.java:946)
      at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:1766)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:875)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:528)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
      at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1493)
      at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1455)
      at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:955)
      at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:888)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:528)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:499)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:336)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:248)
      at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:72)
      ... 13 more

      Attachments

        Issue Links

          Activity

            People

              thilina Nanayakkara Kuruppuge Thilina Gunarathne
              milinda Milinda Pathirage
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: