You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "jamie campbell (JIRA)" <ji...@apache.org> on 2011/03/01 22:30:36 UTC

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

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


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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2867.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:  metatype-1.0.6
         Assignee: Felix Meschberger

Thanks for reporting the bug. I have fixed this in Rev. 1187680
                
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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