• Post Reply Bookmark Topic Watch Topic
  • New Topic

RequestFactory throws an exception when on null relationships  RSS feed

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!