I'm trying out AutoBean for the first time. Serializing a DTO to json on 
server works great, however when I attempt to deserialize it on the client 
side, I get this error:

 com.google.gwt.core.client.JavaScriptException: (ReferenceError) : 
Ljava_util_List_2_classLit_0_g$ is not defined
Console.java:11 Unknown.endVisitType_1_g$(MyModule-0.js@7:63881)
Unknown.traverse_1_g$(MyModule-0.js@18:61742)
Unknown.accept_5_g$(MyModule-0.js@8:61692)
Unknown.maybeCreateCoder_0_g$(MyModule-0.js@12:64206)
Unknown.visitValueProperty_3_g$(MyModule-0.js@8:64221)
Unknown.traverseProperties_0_g$(MyModule-0.js@20:4379)
Unknown.traverse_0_g$(MyModule-0.js@10:4306)
Unknown.accept_4_g$(MyModule-0.js@8:4171)
Unknown.doCoderFor_0_g$(MyModule-0.js@17:63732)
Unknown.getOrReify_0_g$(MyModule-0.js@16:4220)

My code:
final RequestBeanFactory factory = GWT.create(RequestBeanFactory.class);

MyBean result = AutoBeanCodex.decode(factory, MyBean.class, 
response.getText()).as();

During logging I've verified that response.getText() is returning valid 
json (its the output of serialization via AutoBean on server)

Any ideas?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to