You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2019/06/03 09:25:00 UTC

[jira] [Work started] (FELIX-6141) Risk of NPE when Maps containing null keys or values are converted

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

Work on FELIX-6141 started by Timothy Ward.
-------------------------------------------
> Risk of NPE when Maps containing null keys or values are converted
> ------------------------------------------------------------------
>
>                 Key: FELIX-6141
>                 URL: https://issues.apache.org/jira/browse/FELIX-6141
>             Project: Felix
>          Issue Type: Bug
>          Components: Converter
>    Affects Versions: converter-1.0.8
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>            Priority: Major
>             Fix For: converter-1.0.10
>
>
> The Converter code incorrectly calls Class#isAssignableFrom() using an argument that may be null. This results in an NPE being thrown when converting map-like values into scalars. Even if conversion should fail it should never fail by throwing an NPE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)