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] Assigned: (FELIX-2860) getLocales() in DefaultMetaTypeProvider needs to check return of findEntries
Date Thu, 24 Feb 2011 09:38:38 GMT

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

Felix Meschberger reassigned FELIX-2860:
----------------------------------------

    Assignee: Felix Meschberger

> 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
>
> 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

        

Mime
View raw message