You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Kai Stapel (JIRA)" <ji...@apache.org> on 2013/09/09 08:54:52 UTC

[jira] [Created] (CXF-5258) Return type list of a typed type, e.g. {{List>}} makes problems

Kai Stapel created CXF-5258:
-------------------------------

             Summary: Return type list of a typed type, e.g. {{List<Type<Typee>>}} makes problems
                 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


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