This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes GWT and the fly likes RequestFactory throws an exception when on null relationships Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Bookmark "RequestFactory throws an exception when on null relationships" Watch "RequestFactory throws an exception when on null relationships" New topic
Author

RequestFactory throws an exception when on null relationships

Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
When I return an entity from a method with a null EntityProxy relationship (ie, Book.getAuthor() when Author is null) an exception is thrown. Is it possible to return objects with null values in them?

Stacktrace here:
http://pastebin.com/y80E2GMT


http://www.goodercode.com
SCJP 1.4
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RequestFactory throws an exception when on null relationships