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 2013/10/08 19:18:47 UTC

[jira] [Closed] (FELIX-4261) NPE when an instance is declared without a configuration using the @ConfigurationTracker

     [ https://issues.apache.org/jira/browse/FELIX-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier closed FELIX-4261.
------------------------------------


> NPE when an instance is declared without a configuration using the @ConfigurationTracker
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-4261
>                 URL: https://issues.apache.org/jira/browse/FELIX-4261
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-runtime-1.11.0
>
>
> The following configuraiton throws an NPE:
> {code:java}
> @Configuration
> public class SimpleConfiguration {
>     // Declare an instance of MyComponent named myInstance
>     Instance myInstance = instance().of(MyComponent.class)
>             .named("foo");
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)