If map() (Line 147) in MappingProcessor is called with destClass = NULL, destType is determined by type of given destObj. The destType (never NULL), is passed to all sub methods, but mappedFields getMappedValue() method, where destClass is used (maybe NULL). This will, in case of any mapped fields are already available, lead to an NPE in Line 55 of class MappedFieldsTracker.
We fixed the problem by passing destObj instead of destClass to getMappedValue() and all tests still passed this fix.
I am sorry that we cant provide a test scenario, but constellation is very hard to extract from our code.
Duplicate of 3479697