Hello,

I'm using GWT 2.0 and now playing with custom emulation and
serializers.
I've got a complex class CDO which has many imports and cannot be
explicitly RPC-serialized in any way. So, I created its emulation with
only few methods and added <super-source> to my gwt.xml. Also I
created CDO_CustomFieldSerializer (which didn't help anyway). Now,
serializing the object goes just fine (and my custom serializer in
invoked) but deserializing never happens with exception:
Caused by: com.google.gwt.user.client.rpc.SerializationException:
foo.CDO/122702870
        at
com.google.gwt.user.client.rpc.impl.SerializerBase.check(SerializerBase.java:
161)
        at
com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:
138)
         ...and so on

I suspect the problem's root is that my emulation class' and original
class source code are different, but the exception is too
uninformative and I've been unable to find a solution.
Why this is not working and what are the laws of creating emulation
source codes?

Thanks!

-- 
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.

Reply via email to