[ 
https://issues.apache.org/jira/browse/ODE-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vorobiov updated ODE-1023:
-------------------------------
    Attachment: org.apache.ode.bpel.compiler.wsdl.WSDLReaderImpl.java

> Deployment fails with StackOverflowError
> ----------------------------------------
>
>                 Key: ODE-1023
>                 URL: https://issues.apache.org/jira/browse/ODE-1023
>             Project: ODE
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.3.6
>            Reporter: Igor Vorobiov
>         Attachments: HelloWorld2.zip, 
> org.apache.ode.bpel.compiler.wsdl.WSDLReaderImpl.java
>
>
> Deployment fails with StackOverflowError:
> {code}
> java.lang.StackOverflowError
>         at org.apache.xerces.dom.NamedNodeMapImpl.<init>(Unknown Source)
>         at org.apache.xerces.dom.AttributeMap.<init>(Unknown Source) 
>         at org.apache.xerces.dom.ElementImpl.getAttributes(Unknown Source)
>         at 
> org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source)
>         at org.apache.xerces.dom.NodeImpl.writeObject(Unknown Source)   
>         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  
>         at java.lang.reflect.Method.invoke(Method.java:606)  
>         at 
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
>         at 
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
>         at 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 
> ...
> {code}
> Problem appears when process contains wsdl which has very large type 
> definition for example:
> {code}
>                      <xs:simpleType name="typeValidElementName">
>                             <xs:restriction base="xs:string">
>                                <xs:enumeration value="acbGenStatementType" />
>                                  ... 1.5k enumeration here
>                                   <xs:enumeration value="xsdStatus" />
>                               </xs:restriction>
>                       </xs:simpleType>
> {code}
> Attached HelloWorld2.zip process to reproduce. This process is from ODE 
> examples but with modified HelloWorld2.wsdl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to