Legacy Knowledge Base
公開されました Jul. 2, 2025

OPTION リクエストは JSResolveModulesServlet で例外をトリガーします

Written By

Ankit Gupta

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 再現する手順:

    1. 7.3.10-dxp-1 バンドルを開始する
    2. curl を使用してオプション リクエストをシミュレートします (curl をインストールし、ポータルの実行中に別のコンソールで次のコマンドを使用します)。
    curl -X OPTIONS "http://localhost:8080/o/js_resolve_modules?modules=frontend-js-alert-support-web%401.0.7%2Findex"
    1. ポータル コンソールを確認する

    予想される行動:

    ログにエラーはありません

    実際の動作:

    java.lang.StringIndexOutOfBoundsException: 範囲外の文字列インデックス: -8 がスローされます

Environment

  • Liferay DXP 7.3

解決策

  • 観察された動作は既知の問題であり、 liferay-fix-pack-dxp-2 以降で修正されています。
  • この問題に修正プログラムが必要な場合は、修正プログラムの詳細を添付して、修正プログラムを要求するサポート チケットを作成してください。
  • Liferay DXP へのフィックスパックとホットフィックスのインストール は、環境にこれらのフィックスパックをインストールするためのガイドです。
Did this article resolve your issue ?

Legacy Knowledge Base