com.google.gwt.user.client.rpc.SerializationException: Type '[Lcom.google.gwt.sample.stockWatcher.client.StockPrice;' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be serialized.
However, I do not get this error in production mode. If I let my class to be serialized implement the GWT IsSerializable rather than java.io.Serializable, both run modes work fine.
I don't know if this is a documentation issue or a GWT issue. I just wanted to comment that in order to keep the tutorial as perfect as it is.
Hello, the GWT Website and it's tutorial is excellent. Congratulations for that!
When you run the example at http://www.gwtproject.org/doc/latest/tutorial/RPC.html, for me in super dev mode (embedded Jetty), I get the following error during the RPC call.
com.google.gwt.user.client.rpc.SerializationException: Type '[Lcom.google.gwt.sample.stockWatcher.client.StockPrice;' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be serialized.
However, I do not get this error in production mode. If I let my class to be serialized implement the GWT IsSerializable rather than java.io.Serializable, both run modes work fine.
I don't know if this is a documentation issue or a GWT issue. I just wanted to comment that in order to keep the tutorial as perfect as it is.
Best regards Michael