legacy-knowledge-base
公開されました Sep. 10, 2025

ログに「Error executing FreeMarker template」と表示されるのはなぜですか?

written-by

Prarthana Jadhav

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

問題

  • ログに表示される以下のエラーの原因は何でしょうか?
    [runtime:60] Error executing FreeMarker template 
    FreeMarker template error:
    The following has evaluated to null or missing:
    ==> httpUtil.decodeURL(filename) [in template "20116#201520000000#523000001477" at line 36, column 34]

Environment

  • Liferay DXP 7.0

解決策

  • このFreemarkerテンプレートのエラーは、「20116#201520000000#523000001477」テンプレートの36行目にあることが期待される名前のファイルを見つけようとするコードです。
  • エラーや行番号は、シナリオによって異なる場合があります。 どのテンプレートがこのエラーを引き起こしているかを知るには、全サイトの中からtemplateid:20116(この場合)のテンプレートを検索して、このエラーを引き起こしているテンプレートを特定します。

追加情報

  • なお、本解説で提供されるポインターは、一般的なシナリオに基づくものです。 解像度は、環境によっても異なる場合があります。
did-this-article-resolve-your-issue

legacy-knowledge-base