com.opensymphony.user.DuplicateEntityException: The user Test@example.com already exists.

Atlassian JIRA | Andrew Myers [Atlassian] | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    *LOG message* {noformat} User wasn't found for emailAddress: =?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de> {noformat} This causes knock on effects like failing to match email address and trying to recreate users, which fails (harmlessly?): {noformat} 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [=?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de>] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] finding a USERID based on FULL email address 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] No createUsersIDFromEmailDomainRestrictions property set, just creating from: jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] UserID will be: jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 ERROR [jira.emh.engine.EMHUserUtils] Unhandled Exception occurred while automatically creating a new user from email: com.opensymphony.user.DuplicateEntityException: The user jira@services.dlh.de already exists. at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:261) at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:238) at com.javahollic.jira.emh.engine.EMHUserUtils.createUser(EMHUserUtils.java:215) at com.javahollic.jira.emh.engine.EMHUserUtils.createUserFromEmailAddress(EMHUserUtils.java:202) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupReporter(AbstractFieldProcessorHelper.java:763) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:103) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:279) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:125) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    JIRA | 7 years ago | Andy Brook
    com.opensymphony.user.DuplicateEntityException: The user jira@services.dlh.de already exists.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    On support.atlassian.com we are seeing the following during processing of our mail queue. {noformat} 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Error occurred while automatically creating a new user from email: com.opensymphony.user.DuplicateEntityException: The user jira@example.com already exists. at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:181) at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:171) at com.atlassian.jira.util.JiraUserUtils.createJiraUser(JiraUserUtils.java:74) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createUserForReporter(AbstractMessageHandler.java:542) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getReporter(AbstractMessageHandler.java:485) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:101) at com.atlassian.jira.toolkit.service.handler.CreateSupportIssueHandler.handleMessage(CreateSupportIssueHandler.java:80) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-03-08 18:57:12,332 JiraQuartzScheduler_Worker-2 WARN [toolkit.service.handler.CreateSupportIssueHandler] Sender is anonymous, no default reporter specified and creating users is set to false. Message rejected. {noformat} this is then closely followed by: {noformat} 2007-03-08 18:57:15,589 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Throwable: com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.service.services.mail.MailFetcherService.sendMail(MailFetcherService.java:353) at com.atlassian.jira.service.services.mail.MailFetcherService.forwardEmail(MailFetcherService.java:319) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:194) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 Error: message too large at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at alt.javax.mail.TransportImpl.send(TransportImpl.java:18) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169) ... 7 more {noformat}

    Atlassian JIRA | 1 decade ago | Jed Wesley-Smith
    com.opensymphony.user.DuplicateEntityException: The user jira@example.com already exists.
  4. 0

    *LOG message* {noformat} User wasn't found for emailAddress: =?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de> {noformat} This causes knock on effects like failing to match email address and trying to recreate users, which fails (harmlessly?): {noformat} 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [=?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de>] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail() 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] finding a USERID based on FULL email address 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] No createUsersIDFromEmailDomainRestrictions property set, just creating from: jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] UserID will be: jira@services.dlh.de 2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 ERROR [jira.emh.engine.EMHUserUtils] Unhandled Exception occurred while automatically creating a new user from email: com.opensymphony.user.DuplicateEntityException: The user jira@services.dlh.de already exists. at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:261) at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:238) at com.javahollic.jira.emh.engine.EMHUserUtils.createUser(EMHUserUtils.java:215) at com.javahollic.jira.emh.engine.EMHUserUtils.createUserFromEmailAddress(EMHUserUtils.java:202) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupReporter(AbstractFieldProcessorHelper.java:763) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:103) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:279) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:125) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    JIRA | 7 years ago | Andy Brook
    com.opensymphony.user.DuplicateEntityException: The user jira@services.dlh.de already exists.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.opensymphony.user.DuplicateEntityException

      The user Test@example.com already exists.

      at com.atlassian.core.user.UserUtils.createUser()
    2. com.atlassian.core
      UserUtils.createUser
      1. com.atlassian.core.user.UserUtils.createUser(UserUtils.java:261)
      1 frame