Thursday, January 31, 2013

RequestFactory throws Exception when returning an entity with a null Proxy relationship

I have an entity that has an optional entity that is specified in the with() method of the call (e.g. bookRequest().findByDate(date).with("author")).  When author is null, it throws an exception.  Is this the expected behavior?  Is there any way to return an object with an optional relationship?

Stacktrace: 
http://pastebin.com/y80E2GMT

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

No comments:

Post a Comment