[
https://issues.apache.org/jira/browse/FELIX-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Ward resolved FELIX-6141.
---------------------------------
Resolution: Fixed
Fixed in SVN revision r1860547
It would be good to get confirmation from [~bosschaert] that this is an
acceptable fix as per the OSGi specification.
> 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)