I've got the same problem. I'm using POJO. Any ideas...?

On Aug 9, 10:53 pm, Ivan Pulleyn <[email protected]> wrote:
> Is you object a plain-old Java object? Are you using any persistence engine
> on the server like Hibernate? Sometimes that can cause serialization issues,
> especially when something like Javassist manipulates byte code on the
> server.
>
> Ivan...
>
>
>
>
>
>
>
> On Wed, Aug 10, 2011 at 3:35 AM, BM <[email protected]> wrote:
> > I am getting this weird error "The response could not be deserialized"
> > during RPC call using GWT 2.3. I looked for similar threads on this
> > forum but their problem seems to be different than mine. Here is the
> > complete stack trace.
>
> > Also my ArrayList contains an Object which implements Serializable and
> > has properties with data types as String, Boolean and Date. All the
> > data types seems to have implemented Serializable interface. Please
> > help.
>
> > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
> > response could not be deserialized
> >        at
>
> > com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv 
> > ed(RequestCallbackAdapter.java:
> > 221)
> >        at
> > com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
> > 287)
> >        at com.google.gwt.http.client.RequestBuilder
> > $1.onReadyStateChange(RequestBuilder.java:395)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 39)
> >        at
>
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp 
> > l.java:
> > 25)
> >        at java.lang.reflect.Method.invoke(Method.java:597)
> >        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> > 103)
> >        at
> > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> > 71)
> >        at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav 
> > a:
> > 167)
> >        at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo 
> > rReturn(BrowserChannelServer.java:
> > 326)
> >        at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann 
> > elServer.java:
> > 207)
> >        at
> > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> > 132)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> > 561)
> >        at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> > 269)
> >        at
>
> > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j 
> > ava:
> > 91)
> >        at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> >        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
> >        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
> >        at
>
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp 
> > l.java:
> > 25)
> >        at java.lang.reflect.Method.invoke(Method.java:597)
> >        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> > 103)
> >        at
> > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> > 71)
> >        at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav 
> > a:
> > 167)
> >        at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne 
> > lServer.java:
> > 281)
> >        at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan 
> > nelServer.java:
> > 531)
> >        at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java 
> > :
> > 352)
> >        at java.lang.Thread.run(Thread.java:619)
> > Caused by: com.google.gwt.user.client.rpc.SerializationException:
> > java.util.ArrayList/3821976829
> >        at
>
> > com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(Serialize 
> > rBase.java:
> > 153)
> >        at
>
> > com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBa 
> > se.java:
> > 114)
> >        at
>
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deseria 
> > lize(ClientSerializationStreamReader.java:
> > 111)
> >        at
>
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readO 
> > bject(AbstractSerializationStreamReader.java:
> > 119)
> >        at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter
> > $ResponseReader$8.read(RequestCallbackAdapter.java:106)
> >        at
>
> > com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv 
> > ed(RequestCallbackAdapter.java:
> > 214)
> >        ... 27 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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

Reply via email to