Sunday, September 17, 2017

Re: Problem with RegularImmutableList and SingletonImmutableSet Deserialization

I solved it by moving the dependencies for gwt & guava-gwt to parent project of client, server and shared pojects

On Sunday, September 17, 2017 at 2:39:44 PM UTC+2, ahmed ali wrote:
I have a question regarding GWT RPC calls

I'm using guava & guava-gwt version 22 and I inherited this module <inherits name="com.google.common.collect.Collect" />

When I call any service and the return type is Set then if the server returns SingletonImmutableSet this exception is thrown "com.google.gwt.user.client.rpc.SerializationException: com.google.common.collect.SingletonImmutableSet/3246800781"

same for RegularImmutableList with return type List com.google.gwt.user.client.rpc.SerializationException: com.google.common.collect.RegularImmutableList

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment