Discussion:
SerializationException While Upgrading to GWT 2.8.2
DK
2018-07-11 12:50:50 UTC
Permalink
I have updated from GWT 2.6.1 to GWT 2.8.2 but while running I am getting
the following error in the browser:

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onreadystatechange<(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry_0/<(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.user.client.rpc.SerializationException: 153221
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onreadystatechange<(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry_0/<(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.anonymous(Unknown)

What is the meaning of "153221" after the Error?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Jens
2018-07-11 16:31:10 UTC
Permalink
GWT-RPC responses have a string table to deduplicate strings and minimize
the response size. When deserializing a server response the code will try
to lookup a type signature string in the string table, however in your case
the lookup returns wrong data and serialization fails. "153221" is not a
type signature but some other data you have transferred, maybe a variable
value.

Usually it means your GWT versions are out of sync. Make double sure to
deploy the gwt-servlet.jar from GWT 2.8.2 and not the one of GWT 2.6.1 to
your server. Then make double sure you are actually compile your app with
GWT 2.8.2 and not with 2.6.1.

-- J.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Loading...