You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "armroe (JIRA)" <ji...@apache.org> on 2015/05/21 06:10:02 UTC
[jira] [Created] (FELIX-4898) NPE in
org.apache.felix.ipojo.handlers.configuration.ConfigurationHandler.notifyListeners
armroe created FELIX-4898:
-----------------------------
Summary: NPE in org.apache.felix.ipojo.handlers.configuration.ConfigurationHandler.notifyListeners
Key: FELIX-4898
URL: https://issues.apache.org/jira/browse/FELIX-4898
Project: Felix
Issue Type: Bug
Components: iPOJO
Affects Versions: ipojo-runtime-1.12.1
Reporter: armroe
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)