javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''

Jenkins JIRA | Sorin Sbarnea | 4 years ago
  1. 0

    [JENKINS-15253] javax.mail.internet.AddressException: Local address contains control or whitespace on mercurial commits - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''
  2. 0

    It seems that jenkins is not able to use the email addresses from mercurial commits. Mercurial uses the Author field which has this format: "name surname <email@domain.com>". At same stage the < > are replaced by underlines. {code:none} ERROR: Local address contains control or whitespace javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_'' at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1213) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633) at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111) at hudson.tasks.Mailer.StringToAddress(Mailer.java:152) at hudson.tasks.MailSender.buildCulpritList(MailSender.java:411) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:367) at hudson.tasks.MailSender.createFailureMail(MailSender.java:226) at hudson.tasks.MailSender.getMail(MailSender.java:153) at hudson.tasks.MailSender.execute(MailSender.java:99) at hudson.tasks.Mailer.perform(Mailer.java:115) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code}

    Jenkins JIRA | 4 years ago | Sorin Sbarnea
    javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''
  3. 0

    It seems that jenkins is not able to use the email addresses from mercurial commits. Mercurial uses the Author field which has this format: "name surname <email@domain.com>". At same stage the < > are replaced by underlines. {code:none} ERROR: Local address contains control or whitespace javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_'' at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1213) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633) at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111) at hudson.tasks.Mailer.StringToAddress(Mailer.java:152) at hudson.tasks.MailSender.buildCulpritList(MailSender.java:411) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:367) at hudson.tasks.MailSender.createFailureMail(MailSender.java:226) at hudson.tasks.MailSender.getMail(MailSender.java:153) at hudson.tasks.MailSender.execute(MailSender.java:99) at hudson.tasks.Mailer.perform(Mailer.java:115) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code}

    Jenkins JIRA | 4 years ago | Sorin Sbarnea
    javax.mail.internet.AddressException: Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Jenkins: IcedTea7TargetTesting #1047

    java.net | 2 years ago
    javax.mail.internet.AddressException: Domain ends with dot in string `` ''
  6. 0

    Build failed in Jenkins: IcedTea7TargetTesting #906 - Grokbase

    grokbase.com | 2 years ago
    javax.mail.internet.AddressException: Domain ends with dot in string ``testresults at icedtea.classpath.org.''

    4 unregistered visitors
    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. javax.mail.internet.AddressException

      Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''

      at javax.mail.internet.InternetAddress.checkAddress()
    2. JavaMail API
      InternetAddress.<init>
      1. javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1213)
      2. javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091)
      3. javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)
      4. javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.Mailer.StringToAddress(Mailer.java:152)
      2. hudson.tasks.MailSender.buildCulpritList(MailSender.java:411)
      3. hudson.tasks.MailSender.createEmptyMail(MailSender.java:367)
      4. hudson.tasks.MailSender.createFailureMail(MailSender.java:226)
      5. hudson.tasks.MailSender.getMail(MailSender.java:153)
      6. hudson.tasks.MailSender.execute(MailSender.java:99)
      7. hudson.tasks.Mailer.perform(Mailer.java:115)
      8. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      10. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      11. hudson.model.Build$BuildExecution.post2(Build.java:183)
      12. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      13. hudson.model.Run.execute(Run.java:1513)
      14. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      15. hudson.model.ResourceController.execute(ResourceController.java:88)
      16. hudson.model.Executor.run(Executor.java:236)
      16 frames