Igor Vorobiov created ODE-1023:
----------------------------------

             Summary: 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


Deployment fails with StackOverflowError:
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) 
...

Problem is appears when process contains wsdl which has very large type for 
example:
                     <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>
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