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 2012/11/20 12:01:03 UTC

[jira] [Closed] (FELIX-2867) getIcon() in LocalizedObjectClassDefinition keyset iteration incorrect

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

Felix Meschberger closed FELIX-2867.
------------------------------------


Close after release
                
> getIcon() in LocalizedObjectClassDefinition keyset iteration incorrect
> ----------------------------------------------------------------------
>
>                 Key: FELIX-2867
>                 URL: https://issues.apache.org/jira/browse/FELIX-2867
>             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
>
>
> LocalizedObjectClassDefinition:137 attempts to get next iteration element typecast to Map.Entry , which gets a class cast exception most likely because the keys are of type Integer.  The map is keys = integers , values = strings (see OCD.java two levels up).  The code appears to believe that, instead, it's a map of maps.. or something.

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