Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2141

If the composite has a cyclic include,throw an OutOfMemory exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Java-SCA-1.2
    • Java-SCA-1.2
    • SCA Java Runtime
    • None
    • Patch Available

    Description

      If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.

      Demo1Composite.composite
      <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
      targetNamespace="http://sample"
      xmlns:sample="http://sample"
      name="Demo1Composite"
      <include name="sample:Demo2Composite"/>
      </composite>

      Demo2Composite.composite
      <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
      targetNamespace="http://sample"
      xmlns:sample="http://sample"
      name="Demo2Composite">
      <include name="sample:Demo1Composite"/>
      </composite>

      Attachments

        1. diff.txt
          2 kB
          wangfeng
        2. testcase.zip
          4 kB
          wangfeng

        Activity

          People

            rfeng Zhaohui Feng
            wangfeng wangfeng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: