You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/07/06 15:39:04 UTC

[jira] Work started: (FELIX-322) Registering a PersistenceManager service causes a ClassCastException

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

Work on FELIX-322 started by Felix Meschberger.

> Registering a PersistenceManager service causes a ClassCastException
> --------------------------------------------------------------------
>
>                 Key: FELIX-322
>                 URL: https://issues.apache.org/jira/browse/FELIX-322
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> When a Configuration object is requested and has to be loaded, the ConfigurationManager asks for the list of current PersistenceManagers. If a service has been registered, this list is being built and sorted according to  service.cmRanking property of the registered PersistenceManagers. The Comparator used assumes the objects to be compared to be ServiceReference instances (to get at the service properties) while the actual objects are the services themselves. Hence the ClassCastException and hence a side effect of not being able to access configuration any more.
> Thanks to Tom Remoleur for reporting this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.