You can debug and put a breakpoint in at
com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:115)
to see why fail.



2011/4/1 mariyan nenchev <[email protected]>

> Hi,
>
> I integrated gwt-dispatch with spring, but when i try to "execute"
> gwt-dispatch Action it fails and calls onFailure() with exception
>
> net.customware.gwt.dispatch.shared.ServiceException [cause:
> java.lang.NullPointerException]
> <br/> at
> net.customware.gwt.dispatch.shared.ServiceException_FieldSerializer.instantiate(ServiceException_FieldSerializer.java:15)
> <br/> at
> net.customware.gwt.dispatch.shared.ServiceException_FieldSerializer.create(ServiceException_FieldSerializer.java:24)
> <br/> at
> com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:115)
> <br/> at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:111)
> <br/> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
> <br/> at
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:216)
> <br/> at
> com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
> <br/> at
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
> <br/> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> <br/> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> <br/> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> <br/> at java.lang.reflect.Method.invoke(Method.java:597)
> <br/> at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> <br/> at
> com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> <br/> at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
> <br/> at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
> <br/> at
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
> <br/> at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
> <br/> at
> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
> <br/> at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:…
>
> Do you have any suggestions?
>
> Regards.
>
> --
> 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