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:33:24 UTC

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

Clement Escoffier created FELIX-4261:
----------------------------------------

             Summary: 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)