> Caused by: com.google.gwt.user.client.rpc.SerializationException: Type > 'gwt.client.to.ProgrammerTO' was not included in the set of types > which can be serialized by this SerializationPolicy or its Class > object could not be loaded. For security purposes, this type will not > be serialized.
1. Does ProgrammerTO meet the criteria for GWT serialization? If you're not sure, post the class definition and we can figure it out. 2. Is ProgrammerTO javac-compiled and available on the server's classpath? On Sat, Oct 11, 2008 at 12:10 PM, Shi <[EMAIL PROTECTED]> wrote: > > Hi! > Thank you for having responded! > I'm using GWT 1.5 > I felt like you wrote me a worning but it appears that triggers the > "onFailure": > > [WARN] StandardContext[]Exception while dispatching incoming RPC call > com.google.gwt.user.client.rpc.SerializationException: > java.lang.reflect.InvocationTargetException > at > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer(ServerSerializationStreamWriter.java: > 686) > at > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java: > 649) > at > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: > 583) > ................................. > Caused by: com.google.gwt.user.client.rpc.SerializationException: Type > 'gwt.client.to.ProgrammerTO' was not included in the set of types > which can be serialized by this SerializationPolicy or its Class > object could not be loaded. For security purposes, this type will not > be serialized. > at > com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize(StandardSerializationPolicy.java: > 83) > at > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: > 581) > at > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: > 129) > at > com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: > 43) > at > com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: > 36) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > You know what could be? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
