I cleaned all the files and folders inside Target folder (Using
Maven).
I removed all the files and folders newly created by GWT inside WAR
folder (Keeping CSS, WEB-INF, HTML files).
I did full rebuild and still has the same problem on simple plain
ArrayList of String objects as mentioned in my test case today I am
just using ArrayList of String objects.
Caused by: com.google.gwt.user.client.rpc.SerializationException:
java.util.ArrayList/3821976829
at
com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:
153)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:
114)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:
111)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:
119)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter
$ResponseReader$8.read(RequestCallbackAdapter.java:106)
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
I am thinking it has to do with some versioning of GWT serialization
classes but not sure how do I find that.
On Aug 10, 10:21 am, Jens <[email protected]> wrote:
> I can't see why this shouldn't work. I am using a command pattern and I have
> some CommandResult classes that contain ArrayList<String> as fields and it
> works with GWT 2.3. I think if it would be a bug it would be recognized much
> earlier.
>
> I think you maybe have outdated serialization information somewhere. Try to
> clean your project, delete GWT's generated javascript folder in the war
> folder and do a full rebuild / GWT compile. Also clean your browser cache.
> If this does not help you have to debug to see whats going on. Looking at
> the exception it seems like the server call has been successfully done but
> GWT fails to deserialize the server result. So it seems like a client side
> problem.
>
> -- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.