You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Cristian Ivascu (JIRA)" <ji...@apache.org> on 2007/07/26 16:31:40 UTC
[jira] Created: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
java.lang.StackOverflowError when trying to generate code for an Amazon service.
--------------------------------------------------------------------------------
Key: AXIS2-3021
URL: https://issues.apache.org/jira/browse/AXIS2-3021
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Environment: Windows XP SP2 / JDK 1.4.12
Reporter: Cristian Ivascu
When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl () I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
Posted by "Cristian Ivascu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cristian Ivascu updated AXIS2-3021:
-----------------------------------
Description: When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method. (was: When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl () I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.)
Forgot the URL to the WSDL
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516326 ]
Amila Chinthaka Suriarachchi commented on AXIS2-3021:
-----------------------------------------------------
This error is because circular element references. which ADB does not support. (unfortunately it is not straight forward to fix this. So this won't be resolved to Axis2 1.3.
this schema contains this element which causes this problem.
<xs:element name="TransactionItem">
<xs:complexType>
<xs:sequence>
<xs:element name="TransactionItemId" type="xs:string"/>
<xs:element name="Quantity" type="xs:string"/>
<xs:element name="UnitPrice" type="tns:Price"/>
<xs:element name="TotalPrice" type="tns:Price"/>
<xs:element name="ASIN" type="xs:string" minOccurs="0"/>
<xs:element name="ChildTransactionItems" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:TransactionItem" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544759 ]
Amila Chinthaka Suriarachchi commented on AXIS2-3021:
-----------------------------------------------------
I did a test with this using the current code repository. and it worked. what was the date for your nightly build?
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-3021.
-------------------------------------------------
Resolution: Fixed
already fixed the issue. Please have a look at with a nightly build.
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Issue Comment Edited: (AXIS2-3021)
java.lang.StackOverflowError when trying to generate code for an Amazon
service.
Posted by "Patrick R. (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544071 ]
pat edited comment on AXIS2-3021 at 11/20/07 1:41 PM:
-------------------------------------------------------------
Amila,
this is not yet working for me. I downloaded the nightly build from http://people.apache.org/dist/axis2/nightly/distribution-SNAPSHOT-bin.zip
and still get the following error:
C:\axis\axis2-SNAPSHOT\bin>wsdl2java.bat -uri http://webservices.amazon.com/AWSE
CommerceService/AWSECommerceService.wsdl
Using AXIS2_HOME: C:\axis\axis2-1.3
Using JAVA_HOME: C:\j2sdk1.4.2_05
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(CodeGener
ationEngine.java:265)
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.InvocationTargetExcepti
on
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:53)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:50)
... 3 more
Caused by: java.lang.StackOverflowError
Can you please help me out on this?
Thank you very much.
Patrick
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-3021) java.lang.StackOverflowError when
trying to generate code for an Amazon service.
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-3021:
----------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> java.lang.StackOverflowError when trying to generate code for an Amazon service.
> --------------------------------------------------------------------------------
>
> Key: AXIS2-3021
> URL: https://issues.apache.org/jira/browse/AXIS2-3021
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: Windows XP SP2 / JDK 1.4.12
> Reporter: Cristian Ivascu
> Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client code for the amazon wsdl (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) I get a java.lang.stackOverflowError message. It seems to go into recursion somewhere when processing the particles for a complex type, in the SchemaCompiler.java class ->processParticle() method.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org