ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathwik Bantwal Premakumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ODE-1023) Deployment fails with StackOverflowError
Date Tue, 09 Jun 2015 10:49:00 GMT

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

Sathwik Bantwal Premakumar resolved ODE-1023.
---------------------------------------------
    Resolution: Fixed

Credits to Igor for the patch.
Resolving on behalf of Tammo.

> 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
>            Assignee: Tammo van Lessen
>             Fix For: 1.3.7, 1.4
>
>         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 and 
<wsdl:documentation> element 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)

Mime
View raw message