Can't Create XML backup due to missing password
Symptoms
The following error appears in log when generating a Crowd XML backup:
2011-02-01 23:22:27,590 http-8095-15 ERROR [500ErrorPage] Exception caught in 500 page null
java.lang.NullPointerException
at com.atlassian.crowd.migration.UserMapper.addUserToXml(UserMapper.java:87)
at com.atlassian.crowd.migration.UserMapper.exportXml(UserMapper.java:71)
Cause
There are one or more users without any passwords in your Crowd internal directory.
Resolution
Follow the SQL below to check for user without password;
select * from cwd_user where credential = null;
// Or
select * from cwd_user where credential = '';
Reset the user password via the Crowd Console.
Last modified on Nov 21, 2012
Powered by Confluence and Scroll Viewport.