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

ログが java.lang.IndexOutOfBoundsException のエラーでいっぱいになる

written-by

Alfonso Abad

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

問題

  • 次のエラーがログに常に表示されます。
ERROR [catalina-exec-54][LiferayMethodExceptionEventHandler:34] java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2

Environment

  • ポータル 6.2
  • DXP 7.0

解決策

  • これが発生する理由は 2 つあります。
    • 一時ファイル: この場合、いくつかの一時ファイルが原因である可能性があります。 コントロール パネル > 構成 > サーバー管理 に移動し、タスク クラスター全体でキャッシュされたコンテンツを消去するを実行するだけです。
    • 言語の問題: エラーの原因は、言語と競合している可能性があります。 翻訳として提供されている言語とデフォルトのポータル言語を検証します。 翻訳言語が提供されている可能性がありますが、それが portal-ext.properties ファイルで構成されていません。

did-this-article-resolve-your-issue

legacy-knowledge-base