Can you share the string that the client sent to the server for this? It looks as though either something has been done to modify the stream (preemptively read from it once it hit the client? an extra token was written to it? some other customization?) or perhaps a proxy server replaced some string with a url for some reason? There is no reason that a classname should begin with "http:" in the client code.
On Wednesday, December 6, 2017 at 12:20:48 PM UTC-6, jeslin...@gmail.com wrote:
-- On Wednesday, December 6, 2017 at 12:20:48 PM UTC-6, jeslin...@gmail.com wrote:
Hi,i am getting the below error after i migrated from gwt 2.6.1 to gwt 2.8.1.am trying to pass an "LinkedHashMap<String, Object> " object thats causing the trouble. I am getting this issue only during post request. Linkedhashmap is working perfectly with get request. Any help is highly appreciated. Let me know if you need additional info to help me.I have all the latest Jars (2.8.1) in my classpath "gwt-user, gwt-servlet "Dec 06, 2017 11:05:08 AM org.apache.catalina.core.ApplicationContext log SEVERE: navigationService: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc. IncompatibleRemoteServiceExcep tion: java.lang. ClassNotFoundException: http: at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC. java:323) at com.google.gwt.user.server.rpc.RemoteServiceServlet. processCall( RemoteServiceServlet.java:263) at com.google.gwt.user.server.rpc.RemoteServiceServlet. processPost( RemoteServiceServlet.java:305) at com.google.gwt.user.server.rpc. AbstractRemoteServiceServlet. doPost( AbstractRemoteServiceServlet. java:62) at javax.servlet.http.HttpServlet.service( HttpServlet.java:647) at javax.servlet.http.HttpServlet.service( HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 305) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 210) at org.apache.tomcat.websocket.server.WsFilter.doFilter( WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 243) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 210) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:123) at org.apache.catalina.authenticator. AuthenticatorBase.invoke( AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke( AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor. process( AbstractHttp11Processor.java: 1041) at org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler. process(AbstractProtocol.java: 603) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor. run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.google.gwt.user.client.rpc.SerializationException: java.lang. ClassNotFoundException: http: at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:708) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:612) at com.google.gwt.user.client.rpc.impl. AbstractSerializationStreamRea der.readObject( AbstractSerializationStreamRea der.java:119) at com.google.gwt.user.client.rpc.core.java.util.Arrays$ ArrayList_ CustomFieldSerializer. instantiate(Arrays.java:57) at com.google.gwt.user.server.rpc.core.java.util.Arrays$ ArrayList_ ServerCustomFieldSerializer. instantiate(Arrays.java:66) at com.google.gwt.user.server.rpc.core.java.util.Arrays$ ArrayList_ ServerCustomFieldSerializer. instantiateInstance(Arrays. java:106) at com.google.gwt.user.server.rpc.core.java.util.Arrays$ ArrayList_ ServerCustomFieldSerializer. instantiateInstance(Arrays. java:39) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.instantiate( ServerSerializationStreamReade r.java:1088) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:682) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.readObject( ServerSerializationStreamReade r.java:592) at com.google.gwt.user.server.rpc.core.java.util.Map_ ServerCustomFieldSerializerBas e.deserialize(Map_ ServerCustomFieldSerializerBas e.java:38) at com.google.gwt.user.server.rpc.core.java.util. LinkedHashMap_ ServerCustomFieldSerializer. deserialize(LinkedHashMap_ ServerCustomFieldSerializer. java:41) at com.google.gwt.user.server.rpc.core.java.util. LinkedHashMap_ ServerCustomFieldSerializer. deserializeInstance( LinkedHashMap_ ServerCustomFieldSerializer. java:55) at com.google.gwt.user.server.rpc.core.java.util. LinkedHashMap_ ServerCustomFieldSerializer. deserializeInstance( LinkedHashMap_ ServerCustomFieldSerializer. java:34) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserializeImpl( ServerSerializationStreamReade r.java:884) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:687) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.readObject( ServerSerializationStreamReade r.java:592) at com.google.gwt.user.server.rpc.core.java.util.Collection_ ServerCustomFieldSerializerBas e.deserialize(Collection_ ServerCustomFieldSerializerBas e.java:38) at com.google.gwt.user.server.rpc.core.java.util.ArrayList_ ServerCustomFieldSerializer. deserialize(ArrayList_ ServerCustomFieldSerializer. java:40) at com.google.gwt.user.server.rpc.core.java.util.ArrayList_ ServerCustomFieldSerializer. deserializeInstance(ArrayList_ ServerCustomFieldSerializer. java:54) at com.google.gwt.user.server.rpc.core.java.util.ArrayList_ ServerCustomFieldSerializer. deserializeInstance(ArrayList_ ServerCustomFieldSerializer. java:33) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserializeImpl( ServerSerializationStreamReade r.java:884) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:687) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.readObject( ServerSerializationStreamReade r.java:592) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r$ValueReader$8.readValue( ServerSerializationStreamReade r.java:149) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserializeValue( ServerSerializationStreamReade r.java:434) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC. java:312) ... 24 moreCaused by: java.lang.ClassNotFoundException: http: at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1547) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamReade r.deserialize( ServerSerializationStreamReade r.java:634) ... 50 more
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment