[
https://issues.apache.org/jira/browse/FELIX-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-2860.
--------------------------------------
Resolution: Fixed
Fix Version/s: metatype-1.0.6
Thanks for reporting this issue. Good catch !
I have fixed this in Rev. 1074087 guarding against a null enumeration
> getLocales() in DefaultMetaTypeProvider needs to check return of findEntries
> ----------------------------------------------------------------------------
>
> Key: FELIX-2860
> URL: https://issues.apache.org/jira/browse/FELIX-2860
> Project: Felix
> Issue Type: Bug
> Components: Metatype Service
> Affects Versions: metatype-1.0.4
> Environment: ubuntu 10.04
> Reporter: jamie campbell
> Assignee: Felix Meschberger
> Fix For: metatype-1.0.6
>
>
> DefaultMetaTypeProvider:128 does a findEntries call which it then uses at 130
> , but assumes that it will always be non-null. findEntries can, and does,
> return null.
> If it helps, I encountered this problem in felix karaf 2.1.4, when I added a
> bundle to the system to iterate on MetaType information for all the
> ManagedService and ManagedServiceFactory bundles in the system, IF they also
> had an associated configuration (even an empty one should be iterable to a
> limited extent, aka, recognizing that it has a configuration). All the
> bundles successfully iterated except for FileInstall 3.1.10. This may or may
> not imply that there is also a bug in FileInstall 3.1.10.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira