Monday, March 25, 2013

GWT RPC Serialization stops working when migration from 2.4.0 to 2.5.1

I've updated my project from GWT 2.4.0 to GWT 2.5.1 and suddenly a specific RPC serialization has stopped work (all other are still working).

I have this class:

public class StatusChangeMapEntity extends RecordStamp implements Serializable {        private HashMap<WFStatus, Pair<WFPhase, ArrayList<Pair<AppUser, Date>>>> map;      ...      ...  }  

The exception message is:

Attempt to deserialize an object of type class Pair when an object of type class Slide is expected  

The class Slide extends StatusChangeMapEntity and is the object that is being deserialized.

Any ideias how to solve this problems?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment