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/01 16:35:25 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13782996#comment-13782996 ] 

Clement Escoffier commented on FELIX-4261:
------------------------------------------

Fixed in trunk.

> 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.10.2
>
>
> 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)