axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Sandakith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-365) Exception throws when use WSDL2C java code generation tool to generate c code with adb databinding
Date Fri, 20 Oct 2006 04:20:39 GMT
    [ http://issues.apache.org/jira/browse/AXIS2C-365?page=comments#action_12443688 ] 
            
Lahiru Sandakith commented on AXIS2C-365:
-----------------------------------------

seems the fix does not compile in jdk14 but does in jdk15 

I am getting this on jdk14 


multiproject:install-callback:
    [echo] Running jar:install for Apache Axis 2.0 - Code Generation
java:prepare-filesystem:

java:compile:
    [echo] Compiling to /home/sandakith/ProjectCheckouts/axis2.1_branch/modules/codegen/target/classes
    [javac] Compiling 16 source files to /home/sandakith/ProjectCheckouts/axis2.1_branch/modules/codegen/target/classes
    [javac] /home/sandakith/ProjectCheckouts/axis2.1_branch/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java:325:
replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String)
    [javac]         String cClassName = word.replace(".", "_");
    [javac]                                 ^
    [javac] 1 error

BUILD FAILED
File...... /home/sandakith/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor


> Exception throws when use WSDL2C java code generation tool to generate c code with adb
databinding
> --------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-365
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-365
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>            Reporter: Milinda Lakmal Pathirage
>         Assigned To: Thilina Gunarathne
>         Attachments: patch_codegen.txt
>
>
> 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

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message