aspose file tools
The moose likes GWT and the fly likes RequestFactory throws an exception when on null relationships Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Reply 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: 251
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: RequestFactory throws an exception when on null relationships
 
Similar Threads
is it wise to return a null from a method ?
methods that causes nullpointer exception
How to find a file (any file) in Java
Can getMessage() method of Exception class return Null?
Getting input with instructor code isn't working as I would expect...