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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development