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

ConfigMBean raise a NPE when dictionnary is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4, 3.0.0
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: