Hello there!
It seems that the JavaBeans must implement
com.google.gwt.user.client.rpc.IsSerializable so they can be
integrated correctly with their JavaScript versions.
So, in this case, the declaration of your class should be:
***
import com.google.gwt.user.client.rpc.IsSerializable;
***
public class SignInStatus implements Serializable, IsSerializable {
***
}
That should do it! The documentetion from Google says that it should
be one interface or another, but it only worked for me when I
implemented IsSerializable. And there seems to be no problem leaving
both interfaces implemented (wich is good)! Remember that the child
objects of the class should also follow the same pattern...
Read more here:
http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.RemoteProcedureCalls.html#SerializableTypes
Peace!!!!
> invokeNativeInteger(@com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader::readInt()):
> JavaScript undefined, expected java.lang.Integer
> at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 481)
> at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:
> 270)
> at
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:
> 137)
> at
> org.macrosoft.client.MyService_TypeSerializer.deserialize(transient
> source for org.macrosoft.client.MyService_TypeSerializer:53)
> at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:
> 94)
> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java: