vadbch / orika

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

Mapping java.util.Map attribute to java.util.HashMap throws MappingException #199

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Mapping a java.util.Map attribute to a java.util.HashMap one throws a 
MappingException:

Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to 
java.util.HashMap
    at ma.glasnost.orika.generated.Orika_Destination_Source_Mapper32463485991091$0.mapAtoB(Orika_Destination_Source_Mapper32463485991091$0.java)
    at ma.glasnost.orika.impl.mapping.strategy.UseCustomMapperStrategy.map(UseCustomMapperStrategy.java:67)
    at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:742)
    ... 25 more

Used Version: 1.4.6

Complete test case attached.

Original issue reported on code.google.com by lore...@gmail.com on 24 Aug 2015 at 4:26

Attachments: