Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
---------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-745
                 URL: https://issues.apache.org/jira/browse/AXIS2C-745
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Windows)
    Affects Versions: 1.1.0
         Environment: Windows XP, java version "1.4.2_14"
            Reporter: Kumar, Rajeev
            Priority: Critical
             Fix For: 1.1.0


I am getting following errors while using axis2 library tool WSDL2C. Any help 
on this will be highly appreciated.

Thanks,
Rajeev

C:\axis2-1.3\lib>java org.apache.axis2.wsdl.WSDL2C -l c -f -o folder1 -uri 
http://localhost/wsdl/629/2007/adm/adm.wsdl -sd -d adb -u
Retrieving schema at 'DVS629Part3Rev2.9.xsd', relative to 
'http://localhost/wsdl/629/2007/adm/'.
Retrieving schema at 'DraftDVS629Part-2Rev-2.12.xsd', relative to 
'http://localhost/wsdl/629/2007/adm/DVS629Part3Rev2.9.xsd'.
log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
log4j:WARN Please initialize the log4j system properly.
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:265)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
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:218)
        ... 2 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:324)
        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.writer.CStructWriter.write(CStructWriter.java:200)
        at 
org.apache.axis2.schema.SchemaCompiler.writeComplexType(SchemaCompiler.java:934)
        at 
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:920)
        at 
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
        at 
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
        ... 8 more
Caused by: java.lang.NullPointerException
        at 
org.apache.axis2.schema.writer.CStructWriter.addPropertyEntries(CStructWriter.java:618)
        at 
org.apache.axis2.schema.writer.CStructWriter.populateInfo(CStructWriter.java:508)
        at 
org.apache.axis2.schema.writer.CStructWriter.getBeanElement(CStructWriter.java:431)
        at 
org.apache.axis2.schema.writer.CStructWriter.process(CStructWriter.java:320)
        at 
org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:195)
        ... 18 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]

Reply via email to