[ 
https://issues.apache.org/jira/browse/FELIX-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard S. Hall updated FELIX-2401:
-----------------------------------

    Fix Version/s: framework-3.0.1
                       (was: framework-3.2.0)

> 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
>            Assignee: Richard S. Hall
>             Fix For: framework-3.0.1
>
>
> 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.

Reply via email to