Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exception when mapping non existing target.. #1153
Problem occurs when a nested property is accessed on target side which does not exist.
referenced this issue
Apr 11, 2017
@mgohin unfortunately there won't be any debug information in the console. Hint for us: Maybe add some more verbose info to display which method is being mapped.
The best way to find out what is happening is to run the compilation in debug mode. I am not sure what you use as your IDE or your build tool. For me with IntelliJ and Maven I run the compile goal with debug and you can find out. You can either break when the
Let us know if we can help you more with finding out the problem. You can also find us on gitter at mapstruct-users
@sjaakd I am having a look at this in order to fix it. I have one question for you why not report the error directly in the
What we could do is to report the errors there and we have access to the method at that time, and then if the