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

Daniel Kulp resolved CXF-5258.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.11
                   2.7.8
         Assignee: Daniel Kulp

> Return type list of a typed type, e.g. List<Type<Typee>>, leads to 
> ClassCastException
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-5258
>                 URL: https://issues.apache.org/jira/browse/CXF-5258
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.7.6
>            Reporter: Kai Stapel
>            Assignee: Daniel Kulp
>             Fix For: 2.7.8, 2.6.11
>
>         Attachments: cfx-list-typed-type.zip
>
>
> If you use a list of a typed type as the return type (yes, a lot of types ;) 
> ) in a CXF service you will get a
> {code}
> java.lang.ClassCastException: java.util.ArrayList cannot be cast to 
> some.class.Name
> {code}
> exception.
> I attached a small example showing the problem for CXF 2.7.6.
> I'm not quite sure if this really is a CXF JAXBDatabinding problem or if it 
> is caused by something else.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to