Wednesday, March 25, 2020

Re: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'com.google.gson.internal.LinkedTreeMap' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom

Try using jdk, jre directly 1.8. Some of my issues disapeared after I switch from java13 to java8.


On Monday, March 23, 2020 at 2:05:43 PM UTC-3, Ashi Dev wrote:
Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.google.gson.internal.LinkedTreeMap' 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.: 
 instance = {}
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:696) ~[gwt-servlet.jar:na]

Using GWT 2.8.2, Java 11, compliance level 1.8,  gson.jar version 2.8.6  On linux.

However, on windows same set up works with gson jar 2.2.2 but not with 2.8.6.

Can you help?

This email is sent on behalf of Northgate Public Services (UK) Limited and its associated companies including Rave Technologies (India) Pvt Limited (together "Northgate Public Services") and is strictly confidential and intended solely for the addressee(s). 
If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully;  (ii) contact Northgate Public Services immediately on +44(0)1442 768445 quoting the name of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted.  You should scan attachments (if any) for viruses.

Northgate Public Services (UK) Limited, registered in England and Wales under number 00968498 with a registered address of Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 4NW.  Rave Technologies (India) Pvt Limited, registered in India under number U31900MH1998PTC117068 with a registered address of PLOT CS 445, 3 rd Floor, A-wing Madhu Corporate Park Ltd, Pandurang Budhkar Marg, Mumbai -400013

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/953c8c85-7ff7-40c0-b359-cece3b36b232%40googlegroups.com.

No comments:

Post a Comment