Can't Create XML backup due to NULL directory description

お困りですか?

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

コミュニティに質問

症状

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 - Getting issue details... STATUS .

ソリューション

  • 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
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.