キーストア テーブルの初期化試行時にエラーが発生する (NullPointerException)

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

問題

Attempting to execute initKeyStore_4_2.jsp results in the following error in the atlassian-confluence.log:

Error occurred trying to initialise keystore table: java.lang.NullPointerException at java.security.MessageDigest.update(Unknown Source) at java.security.MessageDigest.digest(Unknown Source) at org.apache.commons.codec.digest.DigestUtils.md5(DigestUtils.java:165) at org.apache.commons.codec.digest.DigestUtils.md5(DigestUtils.java:190) at com.atlassian.confluence.security.trust.DefaultCurrentApplicationIdProvider.getAliasForSid(DefaultCurrentApplicationIdProvider.java:41) at com.atlassian.confluence.security.trust.DefaultCurrentApplicationIdProvider.getCurrentApplicationId(DefaultCurrentApplicationIdProvider.java:35) at com.atlassian.confluence.security.trust.DefaultTrustedApplicationsManager.getCurrentApplication(DefaultTrustedApplicationsManager.java:133) at com.atlassian.confluence.security.trust.DefaultTrustedApplicationsManager.initConfluenceKey(DefaultTrustedApplicationsManager.java:143)

原因

The Server ID of Confluence is either missing in the database or incorrectly set. This is covered more in Server ID Shows as $action.serverId or $action.sid or n.v.

ソリューション

  1. Confluence を停止します。

  2. Fix the Server ID missing issue by performing the resolution steps at Server ID Shows as $action.serverId or $action.sid or n.v.

  3. Confluence を再起動します。

  4. Re-configure Application link

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。