superleo-cn / optimist

Automatically exported from code.google.com/p/optimist
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Interceptor crashes when null object for annotations #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Static method EntityWrapper.hasOptimisticLockingAnnotation is used but object 
being sent in is ever checked if it's null.

Should handle null in some way.

Original issue reported on code.google.com by roland.bali@gmail.com on 5 Jan 2011 at 7:59

GoogleCodeExporter commented 8 years ago
Decided null should do nothing but return as if the null-object is not 
annotated. Added log to debug when null occur.

Original comment by roland.bali@gmail.com on 5 Jan 2011 at 9:35

GoogleCodeExporter commented 8 years ago
Added JUint test case testing when object is null.

Original comment by roland.bali@gmail.com on 5 Jan 2011 at 9:41

GoogleCodeExporter commented 8 years ago

Original comment by roland.bali@gmail.com on 11 Jan 2011 at 11:32