com.atlassian.crowd.exception.runtime.UserNotFoundException: User <foo> does not exist

Atlassian JIRA | Matthew Hunter | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Summary Unsure of the cause at this stage, and it seems to be intermittent (i.e. performing the exact same import again seems to just work). h3. Steps to Reproduce # Perform a JIRA Cloud Import h3. Expected Results Import succeeds h3. Actual Results On occasion imports fail with the error: {noformat} com.atlassian.crowd.exception.runtime.UserNotFoundException: User <foo> does not exist at com.atlassian.crowd.embedded.core.CrowdServiceImpl.removeUserFromGroup(CrowdServiceImpl.java:794) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.removeUserFromGroup(DelegatingCrowdService.java:205) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.removeUserFromGroup(FilteredCrowdServiceImpl.java:340) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.ensureNoOtherUsersAreSiteAdmin(StudioDataImportAsyncCommand.java:371) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.doStudioImportTasks(StudioDataImportAsyncCommand.java:325) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importJiraExportData(StudioDataImportAsyncCommand.java:185) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importDataAndFiles(StudioDataImportAsyncCommand.java:169) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:120) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:61) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:157) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:133) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Get Support (https://support.atlassian.com) to restart the instance, and then try importing again, it will likely succeed.

    Atlassian JIRA | 1 year ago | Matthew Hunter
    com.atlassian.crowd.exception.runtime.UserNotFoundException: User <foo> does not exist
  2. 0

    h3. Summary Unsure of the cause at this stage, and it seems to be intermittent (i.e. performing the exact same import again seems to just work). h3. Steps to Reproduce # Perform a JIRA Cloud Import h3. Expected Results Import succeeds h3. Actual Results On occasion imports fail with the error: {noformat} com.atlassian.crowd.exception.runtime.UserNotFoundException: User <foo> does not exist at com.atlassian.crowd.embedded.core.CrowdServiceImpl.removeUserFromGroup(CrowdServiceImpl.java:794) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.removeUserFromGroup(DelegatingCrowdService.java:205) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.removeUserFromGroup(FilteredCrowdServiceImpl.java:340) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.ensureNoOtherUsersAreSiteAdmin(StudioDataImportAsyncCommand.java:371) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.doStudioImportTasks(StudioDataImportAsyncCommand.java:325) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importJiraExportData(StudioDataImportAsyncCommand.java:185) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importDataAndFiles(StudioDataImportAsyncCommand.java:169) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:120) at com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:61) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:157) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:133) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround Get Support (https://support.atlassian.com) to restart the instance, and then try importing again, it will likely succeed.

    Atlassian JIRA | 1 year ago | Matthew Hunter
    com.atlassian.crowd.exception.runtime.UserNotFoundException: User <foo> does not exist

    Root Cause Analysis

    1. com.atlassian.crowd.exception.runtime.UserNotFoundException

      User <foo> does not exist

      at com.atlassian.crowd.embedded.core.CrowdServiceImpl.removeUserFromGroup()
    2. com.atlassian.crowd
      FilteredCrowdServiceImpl.removeUserFromGroup
      1. com.atlassian.crowd.embedded.core.CrowdServiceImpl.removeUserFromGroup(CrowdServiceImpl.java:794)
      2. com.atlassian.crowd.embedded.core.DelegatingCrowdService.removeUserFromGroup(DelegatingCrowdService.java:205)
      3. com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.removeUserFromGroup(FilteredCrowdServiceImpl.java:340)
      3 frames
    3. com.atlassian.jira
      ImportTaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.ensureNoOtherUsersAreSiteAdmin(StudioDataImportAsyncCommand.java:371)
      2. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.doStudioImportTasks(StudioDataImportAsyncCommand.java:325)
      3. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importJiraExportData(StudioDataImportAsyncCommand.java:185)
      4. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.importDataAndFiles(StudioDataImportAsyncCommand.java:169)
      5. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:120)
      6. com.atlassian.jira.studio.importer.StudioDataImportAsyncCommand.call(StudioDataImportAsyncCommand.java:61)
      7. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:157)
      8. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:133)
      8 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames