Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1023

Deployment fails with StackOverflowError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.6
    • 1.3.7, 1.4
    • Deployment
    • None

    Description

      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 appears when process contains wsdl which has very large type definition and <wsdl:documentation> element 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.

      Attachments

        1. org.apache.ode.bpel.compiler.wsdl.WSDLReaderImpl.java
          7 kB
          Igor Vorobiov
        2. HelloWorld2.zip
          13 kB
          Igor Vorobiov

        Issue Links

          Activity

            People

              vanto Tammo van Lessen
              ivorobiov Igor Vorobiov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: