I've managed to solve this problem. Basically I've created a class
extending the HashMap:
public class MapStatusChanges extends
HashMap<WFStatus, Pair<WFPhase, ArrayList<Pair<AppUser, Date>>>> {
...
}
And then created a CustomSerializer to the MapStatusChanges.
It's not a generic solution, but it works until this problem is solved at
GWT.
Hope this helps....
On Monday, March 25, 2013 6:31:39 PM UTC, Paulo Martins wrote:
>
> Michael, I've cleaned up and rebuilt the whole project.
>
> The strange stuff here is that the unique RPC methods that fails are the
> methods that transport this object.
>
>
> On Monday, March 25, 2013 5:09:24 PM UTC, Michael Prentice wrote:
>>
>> Have you cleared out your gwt-unitCache?
>>
>>
>> On Monday, March 25, 2013 1:01:28 PM UTC-4, Paulo Martins wrote:
>>>
>>> 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 [email protected].
To post to this group, send email to [email protected].
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.