Can't Create XML backup due to NULL directory description

プラットフォームについて: 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 は除く

症状

Unable to create Crowd XML backup

atlassian-crowd.log に次のエラーが返される。

2013-03-15 13:28:33,655 http-29000-18 INFO [atlassian.xwork.interceptors.TransactionalInvocation] Invoking rollback for transaction on action '/console/secure/admin/backup.action (Backup.default())' due to throwable: java.lang.NullPointerException java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at java.util.Properties.setProperty(Properties.java:143) at com.atlassian.crowd.dao.directory.DirectoryPropertiesMapper.exportProperties(DirectoryPropertiesMapper.java:222) at com.atlassian.crowd.file.FileConfigurationExporter.exportDirectories(FileConfigurationExporter.java:26)

原因

There are directories in Crowd with a NULL description. This happens due to the bug CWD-3216 - Crowd creates NULL DB values for any blank text box in a directory configuration.

ソリューション

  • Run the following query in the Crowd Database to identify the exact directories causing the issue:

    select * from cwd_directory where description is null;
  • Navigate to those directories in Crowd >> Directories, and set a description for each of them. Re-attempt the XML export again

更新日時: September 25, 2025

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

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