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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Sorin Sbarnea, 1 year ago
Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by Sorin Sbarnea, 1 year ago
Local address contains control or whitespace in string ``John Doe _johm.doe@acme.com_''
via java.net by Unknown author, 2 years ago
via Jenkins JIRA by R. Tyler Croy, 1 year ago
Illegal whitespace in address in string ``Paul Thiel@slide.com''
via Stack Overflow by Unknown author, 2 years ago
Illegal whitespace in address in string ``#MA NA US error@hub.wmmercer.com''
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.(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)

Users with the same issue

2 times, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.