I cannot make a simple application with a simple mapping to work!! I'm using dozer-5.2.2.jar. I keep on getting the following error:
Exception in thread "main" java.lang.NullPointerException
at org.dozer.classmap.ClassMap.getSrcClassToMap(ClassMap.java:193)
at org.dozer.loader.MappingsParser.processMappings(MappingsParser.java:68)
at org.dozer.loader.CustomMappingsLoader.load(CustomMappingsLoader.java:65)
at org.dozer.DozerBeanMapper.loadCustomMappings(DozerBeanMapper.java:153)
at org.dozer.DozerBeanMapper.getMappingProcessor(DozerBeanMapper.java:136)
at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:92)
The mappingFile is well set and defined. The source class is not null at all. All the dependencies are covered…Am I missing something??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I cannot make a simple application with a simple mapping to work!! I'm using dozer-5.2.2.jar. I keep on getting the following error:
Exception in thread "main" java.lang.NullPointerException
at org.dozer.classmap.ClassMap.getSrcClassToMap(ClassMap.java:193)
at org.dozer.loader.MappingsParser.processMappings(MappingsParser.java:68)
at org.dozer.loader.CustomMappingsLoader.load(CustomMappingsLoader.java:65)
at org.dozer.DozerBeanMapper.loadCustomMappings(DozerBeanMapper.java:153)
at org.dozer.DozerBeanMapper.getMappingProcessor(DozerBeanMapper.java:136)
at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:92)
The mappingFile is well set and defined. The source class is not null at all. All the dependencies are covered…Am I missing something??