felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-2860) getLocales() in DefaultMetaTypeProvider needs to check return of findEntries
Date Tue, 20 Nov 2012 11:00:59 GMT

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

Felix Meschberger closed FELIX-2860.
------------------------------------


Close after release
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message