Hmm, the disturbing part of this stack trace is how many nested
IndexReader.reportCloseToParentReaders there are: that's not right.
It looks like you have deeply nested IndexReaders.
Why did you need to use this WrappableSearcherManager? It seems to disable
an important check from SearcherManage
We use Lucene 5.3.0 in Gerrit 2.12 [1].
Recently we are seeing the Lucene index writer thread throwing
StackOverflowError
like [2]. I included the line numbers from the log file just that you can
see that it is about 19K lines in the stack trace.
The WrappableSearcherManager manager class [3] was