legacy-knowledge-base
公開されました Jul. 2, 2025

検索サービスの再起動が続く

written-by

Anishq Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 検索サービスの再起動が続き、以下のようなエラーが発生します:
search[search-0] java.lang.StackOverflowError: null
at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:105) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at org.apache.lucene.util.PriorityQueue.<init>(PriorityQueue.java:47) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at org.apache.lucene.search.MinShouldMatchSumScorer$1.<init>(MinShouldMatchSumScorer.java:65) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at org.apache.lucene.search.MinShouldMatchSumScorer.cost(MinShouldMatchSumScorer.java:65) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at org.apache.lucene.search.Boolean2ScorerSupplier.computeCost(Boolean2ScorerSupplier.java:70) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at org.apache.lucene.search.Boolean2ScorerSupplier.cost(Boolean2ScorerSupplier.java:80) ~[lucene-core-7.7.3.jar:7.7.3 1a0d2a901dfec93676b0fe8be425101ceb754b85 - noble - 2020-04-21 10:31:55]
at java.util.stream.ReferencePipeline$5$1.accept(ReferencePipeline.java:229) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfLong.evaluateSequential(ForEachOps.java:209) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.LongPipeline.forEach(LongPipeline.java:421) ~[?:?]

環境

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

解像度

  • StackOverflowError が発動する理由は複数あるのかもしれません。 その理由のひとつが、ヘビーセグメントの作成です。
  • そのようなセグメントを特定し、 削除する必要がある 同じです。
did-this-article-resolve-your-issue

legacy-knowledge-base