PDA

View Full Version : An IncompatibleRemoteServiceException was thrown while processing this call



raghavmurali
9 Oct 2012, 12:34 AM
Dear Sven,
We are getting following exception in the mozilla browser alone. At the same time is working properly in the IE version. Can you please check and give me the soultion for this error. It is very helpful for us.

Agreed, this is related to GWT. But we need your valuable support.


com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type name elision in RPC payloads is only supported if the RPC whitelist file is used.
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:315)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:252)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Truncated. see log file for complete stacktrace
com.google.gwt.user.client.rpc.SerializationException: Type name elision in RPC payloads is only supported if the RPC whitelist file is used.
at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.getClassNameForTypeId(LegacySerializationPolicy.java:103)
at com.google.gwt.user.server.rpc.RPC.maybeDeobfuscate(RPC.java:808)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:246)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:252)
Truncated. see log file for complete stacktrace
>

sven
9 Oct 2012, 1:49 AM
It fails to load the serialization policy file that was created on compile and uses a legacy one.

Do you have the *.gwt.rpc files in your deployment?

raghavmurali
9 Oct 2012, 3:02 AM
Sven,
Thanks for your valuable information. Yes we have the complete gwt.rpc files list in our EAR component. We didn't face this issue in the IE browsers. We are getting this error only in the Mozilla version alone.

raghavmurali
12 Oct 2012, 9:48 AM
Any update ? Please help to close this issue.

sven
12 Oct 2012, 11:34 AM
Hard to say without being able to debug it on my own. Please open a real support ticket in your ticket system at http://support.sencha.com and request a remote desktop session.

raghavmurali
14 Oct 2012, 1:19 AM
Yes sure, i will raise the question into the ticketing system. Please help to close this issue.