Meaningless Drivel is fun!*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RequestFactory throws an exception when on null relationships
 
Similar Threads
Can getMessage() method of Exception class return Null?
Getting input with instructor code isn't working as I would expect...
methods that causes nullpointer exception
is it wise to return a null from a method ?
How to find a file (any file) in Java