karaf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/KARAF-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126083#comment-13126083
] 

Jean-Baptiste Onofré commented on KARAF-932:
--------------------------------------------

Fixed on karaf-2.2.x branch: revision 1182554.
                
> 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

       

Mime
View raw message