User Migration can fail if an AD Sync is running at the same time

XMLWordPrintable

    • 7
    • Severity 3 - Minor
    • 13

      Issue Summary

      During user migration phase for JCMA, if an AD Sync starts or is ongoing, it can lead to migration failure.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Create a migration plan
      2. Run it

      If an AD Sync happens during users/groups export or migration, the migration plan fails.

      Expected Results

      Migration plan succeeds.

      Actual Results

      The below exception is thrown in the atlassian-jira-migration.log file:

      java.lang.NullPointerException (StackTrace=java.lang.NullPointerException\n\tat com.atlassian.jira.migration.workers.usersgroups.UsersGroupsExtractor.toUserGroupExtractionResult(UsersGroupsExtractor.kt:257)\n\tat com.atlassian.jira.migration.workers.usersgroups.UsersGroupsExtractor.getReferencedExtractionResult(UsersGroupsExtractor.kt:202)\n\tat com.atlassian.jira.migration.workers.usersgroups.UsersGroupsExtractor.extract(UsersGroupsExtractor.kt:182)\n\tat com.atlassian.jira.migration.workers.usersgroups.UsersGroupsExtractor.extract(UsersGroupsExtractor.kt:108)\n\tat com.atlassian.jira.migration.workers.usersgroups.UsersGroupsProcessorService.extractUsersGroups(UsersGroupsProcessorService.kt:47)\n\tat com.atlassian.jira.migration.workers.usersgroups.AbstractUsersGroupsProcessor$data$2$1.invoke(AbstractUsersGroupsProcessor.kt:52)\n\tat com.atlassian.jira.migration.workers.usersgroups.AbstractUsersGroupsProcessor$data$2$1.invoke(AbstractUsersGroupsProcessor.kt:48)\n\tat com.atlassian.jira.migration.trac 

      Workaround

      1. Disable/Pause the AD Sync
      2. Rerun the migration

              Assignee:
              Unassigned
              Reporter:
              Kanwar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: