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

1.2.0-Beta1 Automapping Feature: cycle tree let the compiler crash with StackOverflowError. #1103

Closed
brabenetz opened this Issue Feb 26, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@brabenetz

brabenetz commented Feb 26, 2017

Recursive Mappings can produce a compiler crash "Internal error in the mapping processor: java.lang.StackOverflowError":
MapStructRecursionMapper.java.txt

@filiphr filiphr added this to the 1.2-next milestone Feb 26, 2017

@filiphr filiphr added the bug label Feb 26, 2017

navpil added a commit to navpil/mapstruct that referenced this issue Feb 27, 2017

@navpil navpil referenced this issue Feb 27, 2017

Merged

#1103 #1107

@navpil

This comment has been minimized.

Show comment
Hide comment
@navpil

navpil Feb 27, 2017

Contributor

@brabenetz Thanks for finding this bug.

I have added the PR which fixes this particular issue. Probably some other recursive cases should be handled.

Contributor

navpil commented Feb 27, 2017

@brabenetz Thanks for finding this bug.

I have added the PR which fixes this particular issue. Probably some other recursive cases should be handled.

navpil added a commit to navpil/mapstruct that referenced this issue Mar 6, 2017

navpil added a commit to navpil/mapstruct that referenced this issue Mar 16, 2017

@agudian

This comment has been minimized.

Show comment
Hide comment
@agudian

agudian Mar 16, 2017

Member

Merged the fix by @navpil. Thanks @brabenetz for reporting the issue!

Member

agudian commented Mar 16, 2017

Merged the fix by @navpil. Thanks @brabenetz for reporting the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment