Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping Collection of Custom Type throwing Exception #190

Open
deep121 opened this issue Feb 26, 2018 · 1 comment
Open

Mapping Collection of Custom Type throwing Exception #190

deep121 opened this issue Feb 26, 2018 · 1 comment

Comments

@deep121
Copy link

deep121 commented Feb 26, 2018

hi,
i have a collection of custom class(Say Class1) and i have to map it to collection of different class(say Class2). Here Class1 is a public class whereas Class2 is public static inner class. When generating implementation for mapping interface it is throwing unsupported Operation exception. On investigation , i found that while iterating collection of class1. it is mapping class with java.Lang.Object .

Failed to generate mapping method for type java.lang.Object to Class1 to Class2.

thanks

@slemesle
Copy link

slemesle commented Mar 6, 2018

Hi,
can you give me a sample code ? The collection type argument should properly defined for this to work. This can explain the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants