Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-932

ConfigMBean raise a NPE when dictionnary is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.4, 3.0.0
    • 2.2.4, 3.0.0
    • karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: