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

Jean-Baptiste Onofré resolved KARAF-1204.
-----------------------------------------

    Resolution: Duplicate
      Assignee: Jean-Baptiste Onofré
    
> NullpointerException in org.apache.karaf.features.command.FeatureFinder
> -----------------------------------------------------------------------
>
>                 Key: KARAF-1204
>                 URL: https://issues.apache.org/jira/browse/KARAF-1204
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-features
>    Affects Versions: 3.0.0
>         Environment: Build Environment: OpenJDK 1.6.0_22 (64bit), Maven 
> 3.0.4, OpenSuse 12.1-64bit
> Runtime: same as above
>            Reporter: Ulrich Romahn
>            Assignee: Jean-Baptiste Onofré
>         Attachments: FeatureFinder.java
>
>
> The method "updated()" in FeatureFinder throws a NullpointerException during 
> startup.
> This is because ther passed in "Dictionary" is actually null since the 
> configuration with service.pid="org.apache.karaf.features.repos" (as 
> configured in the Blueprint file "features-command.xml") does not seem to 
> exist.
> I suggest to at least add a "if (properties != null) {..." into the updated() 
> method to avoid the NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to