NPE in
org.apache.felix.framework.FilterImpl.DictionaryCapability.getAttribute(String)
--------------------------------------------------------------------------------------
Key: FELIX-2401
URL: https://issues.apache.org/jira/browse/FELIX-2401
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: framework-3.0.0
Reporter: Clement Escoffier
The getAttribute method can throw an NPE if the key is not contained into in
map (m_map)
{code}
if (m_dict != null)
{
if (m_map != null)
{
key = (String) m_map.get(name); <= returns null
}
value = m_dict.get(key); <= NPE here, because the comparator
to null.toString()
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.