You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2011/09/25 16:32:26 UTC
[jira] [Commented] (FELIX-3130) Nested composites throws
StackOverflowError on instantiation
[ https://issues.apache.org/jira/browse/FELIX-3130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114270#comment-13114270 ]
Clement Escoffier commented on FELIX-3130:
------------------------------------------
Your description looks correct. Could you tell me what 'comp-a' is doing (just the description).
> 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
> Assignee: Clement Escoffier
> Attachments: stackoverflow.txt
>
>
> 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