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