atos1990 / orika

Automatically exported from code.google.com/p/orika
0 stars 0 forks source link

NPE when collection is changed. #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create MapperFactory with HibernateUnenhanceStrategy
2. Load hibernate entity, and map to DTO
3. Add a element to association collection in DTO and map to the entity.
4. Remove same element from association collection in DTO and map to the entity.

What is the expected output? What do you see instead?
Changing of data is expected. I see NullPointerException instead.

What version of the product are you using? On what operating system?
orika 1.1.4 , windows 7, jsdk 7

More details are in attached archive.

Original issue reported on code.google.com by dkhomya...@gmail.com on 29 May 2012 at 8:01

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in trunk (1.1.5-SNAPSHOT)

Original comment by matt.deb...@gmail.com on 30 May 2012 at 1:19