0 Replies Latest reply on Apr 25, 2016 10:03 AM by Raman kalra

    facing dozer transformation Issue : Source object must not be null

    Raman kalra Newbie

      Hi All ,

       

      I have been trying to do Json2Json dozer transformation in Camel . However I am facing the below error

       

      org.dozer.MappingException: Source object must not be null
        at org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:87)
        at org.dozer.util.MappingValidator.validateMappingRequest(MappingValidator.java:37)
        at org.dozer.util.MappingValidator.validateMappingRequest(MappingValidator.java:49)
        at org.dozer.MappingProcessor.map(MappingProcessor.java:103)
        at org.dozer.MappingProcessor.map(MappingProcessor.java:99)
        at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
        at org.apache.camel.component.dozer.DozerProducer.process(DozerProducer.java:79)
      
      

       

      I got a link where someone faced a similar Issue in Json2xml transformation . The link is https://issues.jboss.org/browse/FUSETOOLS-1395.

      However I am not able to get which Jar needs to be included to fix this Issue . I would appreciate any help ,I am quite new to Camel and dozer transformation so awaiting help from the community.

       

      Thanks!!

      -Ramandeep