You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org> on 2011/10/12 21:39:12 UTC

[jira] [Resolved] (KARAF-932) ConfigMBean raise a NPE when dictionnary is null

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

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

    Resolution: Fixed
    
> ConfigMBean raise a NPE when dictionnary is null
> ------------------------------------------------
>
>                 Key: KARAF-932
>                 URL: https://issues.apache.org/jira/browse/KARAF-932
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config, karaf-core
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.4, 3.0.0
>
>
> Using the ConfigMBean, if the user firstly creates a configuration:
> configMBean.create(myPid);
> and after set a property using:
> configMBean.propset(myPid, "key", value);
> we get a NPE in ConfigMBeanImpl at line 130.
> According to the OSGi JavaDoc the dictionnary returned by the Configuration object might be null.

--
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