Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC Tutorial - Issue with Serialization #277

Open
docwarems opened this issue Oct 3, 2018 · 0 comments
Open

RPC Tutorial - Issue with Serialization #277

docwarems opened this issue Oct 3, 2018 · 0 comments

Comments

@docwarems
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant