apache / apache/maven

[MNG-6563] StackOverflowError when reading deep (1000) project hierarchy

Open
#8,682 6 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Mickael Istria](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mickael.istria)** opened **[MNG-6563](https://issues.apache.org/jira/browse/MNG-6563?redirect=false)** and commented

I'm trying to write tests loading huge extreme Maven projects in m2e to check how it likes it or not and how to improve it.
One of the tests creates 1000 projects, each one being a parent of the other. When trying to read it, Maven (and thus m2e) crashes with a StackOverflowError because it deeply recurses on build/initParent methods.

---

0 votes, 5 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.