Hi,

I am implementing a command-pattern based RPC mechanism and got a
SerializationException in this line:
rpcService.execute(new GetContactRequest(intId), new
AsyncCallback<RpcResponse>() {...});

I traced it down to the GWT-generated _Proxy class where it tries to
writeObject on the GetContactRequest object and fails with a
SerializationException.

GetContactRequest most certainly implements Serializable through the
interface it implements:
public class GetContactRequest
  implements RpcRequest<GetContactResponse> {//pretty simple code here
- just an int as some ID}

Here is the RpcRequest interface:
public interface RpcRequest<T extends RpcResponse>
  extends Serializable
{
}

Is this a GWT problem where it fails because I am using generics???

Any help would be much appreciated.

Thanks,
Yaakov.

-- 
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