Friday, July 29, 2011

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

I am not getting it always, after doing a gwtcompile i am getting it
sometimes even in dev server... I tried to deploy it in tomcat after
creating a war, that time the response returns from handler, but
doesn't reach the async call back ..

Previously i was getting serialization error in Arraylist , but now i
am getting only this, not sure what changed...

Note: I am not extending IsSerializable but just extending all my
objects with java.io.Serializable...


On Jul 29, 4:40 pm, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
wrote:
> This error ocurr in dev mode too?
>
> 2011/7/29 Jugunu <jugunu.a...@gmail.com>
>
> > Hi Pablo,
>
> > Thanks a lot for the offer to help..
>
> > I am using gwt 2.3 coupled with gwtp framework, gin & guice..
> > These are the specific external jars i am using...
>
> > gin-1.5-post-gwt-2.2.jar
> > guice-3.0.jar
> > guice-assistedinject-3.0.jar
> > guice-servlet-3.0.jar
> > gwtp-all-0.6.jar
> > javax.inject.jar
> > jaxen-1.1.1.jar
> > GwtAI-Client.jar
> > GwtAI-Core.jar
> > aopalliance.jar
> > mvel2-2.0.17.jar
> > xstream-1.2.2.jar
> > commons-lang-2.4.jar
> > ecj-3.6.2.jar
>
> > Thnaks & Regards
> > Jugunu
>
> > On Jul 28, 8:18 pm, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
> > wrote:
> > > Sounds conflicts of version. Put gwt version and your dependencies to
> > help
> > > you.
>
> > > 2011/7/28 Jugunu <jugunu.a...@gmail.com>
>
> > > > Hi GWT Group,
>
> > > > I am getting a IncompatibleRemoteServiceException  & serialization
> > > > exception... But i have extended my class with
> > > > java.io.Serializable...  Also i have observed that I am having
> > > > duplicate entry in the gwt.rpc file..one starting with"[L" and the
> > > > other without...  Can you give me some guidance to solve this issue?
>
> > > > UserInfo extends AResponse
>
> > > > ***********************************************
> > > > .GWT.RPC Content...
>
> > > > com.sample.project.shared.model.UserInfo, true, true, true, true,
> > > > com.sample.project.shared.model.UserInfo/3419115833, 3419115833
> > > > [Lcom.sample.project.shared.model.UserInfo;, true, true, true, true,
> > > > [Lcom.sample.project.shared.model.UserInfo;/3454344643, 3454344643
> > > > com.delta.rafg.coredata.AResponse, true, false, true, false,
> > > > com.delta.rafg.coredata.AResponse/3701931059, 3701931059
> > > > [Lcom.delta.rafg.coredata.AResponse;, true, true, true, true,
> > > > [Lcom.delta.rafg.coredata.AResponse;/1389744197, 1389744197
>
> > > > ERROR LOG...
> > > > ***********************************************
>
> > > > Jul 21, 2011 1:25:49 PM org.apache.catalina.core.ApplicationContext
> > > > log
> > > > SEVERE:
> > > > Key[type=com.gwtplatform.dispatch.server.guice.DispatchServiceImpl,
> > > > annotation=[none]]: An IncompatibleRemoteServiceException was thrown
> > > > while processing this call.
> > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> > > > Invalid type signature for com.sample.project.shared.model.UserInfo
> > > >        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:
> > > > 248)
> > > >        at
>
> > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> > > > 62)
> > > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> > > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > >        at
>
> > com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:
> > > > 263)
> > > >        at
>
> > com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:
> > > > 178)
> > > >        at
>
> > com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:
> > > > 91)
> > > >        at
>
> > com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
> > > > 62)
> > > >        at
>
> > com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:
> > > > 118)
> > > >        at
> > com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:
> > > > 113)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> > > > 235)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> > > > 206)
> > > >        at
>
> > com.sample.project.server.guice.projectWebsphereFilter.doFilter(projectWebsphereFilter.java:
> > > > 27)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> > > > 235)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> > > > 206)
> > > >        at
>
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> > > > 233)
> > > >        at
>
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> > > > 191)
> > > >        at
>
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > > > 128)
> > > >        at
>
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > > > 102)
> > > >        at
>
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> > > > 109)
> > > >        at
> > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> > > > 286)
> > > >        at
> > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> > > > 845)
> > > >        at org.apache.coyote.http11.Http11Protocol
> > > > $Http11ConnectionHandler.process(Http11Protocol.java:583)
> > > >        at
> > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> > > > 447)
> > > >        at java.lang.Thread.run(Thread.java:619)
> > > > Caused by: com.google.gwt.user.client.rpc.SerializationException:
> > > > Invalid type signature for com.sample.project.shared.model.UserInfo
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.validateTypeVersions(ServerSerializationStreamReader.java:
> > > > 916)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:
> > > > 544)
> > > >        at
>
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:
> > > > 119)
> > > >        at
> > > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader
> > > > $ValueReader$8.readValue(ServerSerializationStreamReader.java:137)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:
> > > > 384)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:
> > > > 669)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:
> > > > 715)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:
> > > > 559)
> > > >        at
>
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:
> > > > 119)
> > > >        at
> > > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader
> > > > $ValueReader$8.readValue(ServerSerializationStreamReader.java:137)
> > > >        at
>
> > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:
> > > > 384)
> > > >        at
> > com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:303)
> > > >        ... 26 more
> > > > Jul 21, 2011 1:26:15 PM org.apache.catalina.core.ApplicationContext
> > > > log
> > > > SEVERE:
> > > > Key[type=com.gwtplatform.dispatch.server.guice.DispatchServiceImpl,
> > > > annotation=[none]]: An IncompatibleRemoteServiceException was thrown
> > > > while processing this call.
> > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> > > > Invalid type signature for com.sample.project.shared.model.UserInfo
> > > >        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:
> > > > 248)
> > > >        at
>
> > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> > > > 62)
> > > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> > > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > >        at
>
> > com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:
> > > > 263)
> > > >        at
>
> > com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:
> > > > 178)
> > > >        at
>
> > com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:
> > > > 91)
> > > >        at
>
> > com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
> > > > 62)
> > > >        at
>
> > com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:
> > > > 118)
> > > >        at
> > com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:
> > > > 113)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> > > > 235)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> > > > 206)
> > > >        at
>
> > com.sample.project.server.guice.projectWebsphereFilter.doFilter(projectWebsphereFilter.java:
> > > > 27)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> > > > 235)
> > > >        at
>
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> > > > 206)
> > > >        at
>
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> > > > 233)
> > > >        at
>
> ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment