Nested composites throws StackOverflowError on instantiation
------------------------------------------------------------

                 Key: FELIX-3130
                 URL: https://issues.apache.org/jira/browse/FELIX-3130
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: iPOJO-1.8.0
            Reporter: Thiago Souza


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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to