Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4898

NPE in org.apache.felix.ipojo.handlers.configuration.ConfigurationHandler.notifyListeners

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • ipojo-runtime-1.12.1
    • None
    • iPOJO
    • None

    Description

      this snippet in notifyListeners(Map<String, Object> map)
      ...
      for (String k : map.keySet()) {
      if (! map.get(k).equals(m_lastConfiguration.get(k)))

      { // Difference found, break; diff = true; break; }

      }
      ...
      if map contains null value, a NPE will be thrown.
      For example, fileinstall injects a config file without some property, a null pointer will cause this exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            armroe armroe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: