Bug 131 : NPE in BeanSet line 179 ... when refresh on a bean with a PropertyChangeListener attached
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.0.2
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
30/07/2009
Updated 
30/07/2009
Type 
Bug
 
Attachments 
No attachments

This results in a NullPointerException in BeanSet in the equals method.

There is the same issue with BeanList and BeanMap.

 
Rob 30 Jul 12:32
The issue here...

The issue here is that a refresh on a bean can't really refresh the associated many properties. All it can do is set a lazy loading proxy if no value is currently set for the associated many.

That is, you need to use refreshMany to refresh associated many properties.

Fixed in HEAD.

woResponse

Upload a file