You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Martijn Brinkers (JIRA)" <ji...@apache.org> on 2008/04/29 22:02:55 UTC

[jira] Updated: (CXF-1558) Webservice method returning a Set results in java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List

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

Martijn Brinkers updated CXF-1558:
----------------------------------

    Attachment: cxf-classcast-bug.tar.gz

testcase showing that returning a Set results in a ClasscastException.

> Webservice method returning a Set results in  java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1558
>                 URL: https://issues.apache.org/jira/browse/CXF-1558
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
> jaxb-api-2.1.jar, jaxb-impl-2.1.6.jar, asm-2.2.3.jar
>            Reporter: Martijn Brinkers
>         Attachments: cxf-classcast-bug.tar.gz
>
>
> A webservice method that returns a Set results in java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List. 
> The problem seems related to asm because when asm is removed from the classpath the exception does not occur.

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