karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-932) ConfigMBean raise a NPE when dictionnary is null
Date Wed, 12 Oct 2011 16:49:11 GMT
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:


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

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


View raw message