-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Minor
-
1
-
Issue Summary
While restoring a Jira site backup, the following error is thrown
There was an error importing file xyz.zip: Validation failed. Following issues were reported: Error importing data: java.lang.NullPointerException: userName
Steps to Reproduce
- Import a Server instance backup into Cloud through the Restore System menu
Expected Results
Import completes successfully
Actual Results
The above exception is thrown
Workaround
This error may be thrown when users do not have a valid email address (name@domain.com). This can be addressed by finding and updating these user records in the xml file or on the Server instance before generating a new backup file.
These users might be missing an emailAddress entity in the xml altogether or have an empty emailAddress entity that looks like:
emailAddress="" emailAddress=" " email="" email=" "
Note: There should be a valid email. A NULL or spaces will not resolve this problem.