Interesting, is that the entire error? Just wondering where the List binding
is needed in this case. I haven't worked too closely w/ the xstream
conversion stuff so perhaps I'm thinking in the wrong place...

--j

On Wed, Dec 1, 2010 at 1:02 PM, Eric Woods <[email protected]> wrote:

> Hi All,
>
> When POSTing to the REST APIs with XML or ATOM payloads, the request fails
> if the payload contains something that maps to a Java.util.List or
> Java.util.Map:
>
> Dec 1, 2010 3:36:37 PM org.apache.shindig.protocol.ApiServlet
> responseItemFromException
> WARNING: Returning a response error as result of an exception
> com.thoughtworks.xstream.converters.ConversionException: Guice
> configuration errors:
>
> 1) No implementation for java.util.List was bound.
>  while locating java.util.List
>
> 1 error : Guice configuration errors:
>
> It seems like a binding and/or configuration issue with the xstream
> component (specifically XStream081Configuration.java?).  Perhaps it's
> failing to properly map the List or Map interfaces to implementing classes
> (e.g. ArrayList)?  I'm working on the serializations from JSON to XML & ATOM
> for ActivityStreams and noticed this across the ActivityStreams service and
> all other social API services.  Any help is appreciated.  Otherwise, it's
> worth opening a bug.
>
> Thanks,
> Eric W.

Reply via email to