Can't Create XML backup due to NULL directory description

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Unable to create Crowd XML backup

The following appears in the 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)

Cause

There are directories in Crowd with a NULL description. This happens due to the bug  CWD-3216 - Getting issue details... STATUS .

Resolution

  • 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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.