Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-25 Thread -sowdri-
Can you post the class firing the below request? requests.find(proxyId).with(resource, action, subjects).fire(callback); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-23 Thread tzhotmail
Hi , The AbstractRequestFactory in the client throws this exception, method public P extends EntityProxy RequestP find(EntityProxyIdP proxyId) { if (((SimpleEntityProxyIdP) proxyId).isEphemeral()) { throw new IllegalArgumentException(Cannot fetch unpersisted entity); } but the

Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-20 Thread tzhotmail
Hi, I have a base Entity class with subclasses as shown below. I can view and update my entities but I get the exception java.lang.IllegalArgumentException: Cannot fetch unpersisted entity whenever I try to save /persist a new entity. Does request factory support inheritance ?

Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-20 Thread Thomas Broyer
On Monday, December 19, 2011 10:59:16 PM UTC+1, tzhotmail wrote: Hi, I have a base Entity class with subclasses as shown below. I can view and update my entities but I get the exception java.lang.IllegalArgumentException: Cannot fetch unpersisted entity whenever I try to save /persist a