Felix
  1. Felix
  2. FELIX-3130

Nested composites throws StackOverflowError on instantiation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: iPOJO-1.8.0
    • Fix Version/s: ipojo-composite-1.8.2
    • Component/s: iPOJO
    • Labels:
      None

      Description

      The following metadata.xml describes a composite with another nested composite. Instantiating "composite-external" throws a StackOverflowError

      <?xml version="1.0" encoding="UTF-8"?>
      <ipojo xmlns="org.apache.felix.ipojo" xmlns:c="org.apache.felix.ipojo.composite">

      <component name="comp-a" classname="test.ComponentAImpl" />

      <c:composite name="composite-internal">
      <instance component="comp-a" />
      </c:composite>

      <c:composite name="composite-external">
      <instance component="composite-internal" />
      </c:composite>

      </ipojo>

        Activity

        Thiago Souza created issue -
        Thiago Souza made changes -
        Field Original Value New Value
        Attachment stackoverflow.txt [ 12496329 ]
        Thiago Souza made changes -
        Comment [ The stackoverflow ]
        Clement Escoffier made changes -
        Assignee Clement Escoffier [ clement.escoffier ]
        Clement Escoffier made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Clement Escoffier made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s ipojo-composite-1.8.2 [ 12316240 ]
        Resolution Fixed [ 1 ]
        Clement Escoffier made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Clement Escoffier
            Reporter:
            Thiago Souza
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development