Bug 166 : NPE in BeanProperty getValue when ManyToOne, Inheritance and root level is abstract
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.2.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
10/10/2009
Updated 
10/10/2009
Type 
Bug
 
Attachments 
No attachments

So if
- ManyToOne is a class in an inheritance hierachy
- Root level of inheritance hierarchy is abstract
- and Id property is in that root level abstract class

You get the NPE in Bean getValue method trying to read the imported fkey value.

 
Rob 10 Oct 23:21
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file