Repository navigation
[JENKINS-4927] invalid eMail-Adress breaks e-mailing to others #464
Description
I have configured Hudson to send eMail at the end of a broken build. At first
the hole dev-group get an eMail which Alias eMail address is entered by me in
the correspond field. At second the developer who has checked in at last get an
separate eMail. Now comes that one developer has inserted an invalid eMail
address containing spaces into Bugzilla. As a result no one gets an eMail due to
the fact that Hudson runs into an javax.mail.internet.AddressException:
Archiving artifacts
Recording test results
ERROR: Illegal whitespace in address
javax.mail.internet.AddressException: Illegal whitespace in address in string
``Berend Corneliussun.com''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:926)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:819)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)
at javax.mail.internet.InternetAddress.(InternetAddress.java:91)
at hudson.tasks.MailSender.buildCulpritList(MailSender.java:348)
at hudson.tasks.MailSender.createEmptyMail(MailSender.java:325)
at hudson.tasks.MailSender.createFailureMail(MailSender.java:198)
at hudson.tasks.MailSender.getMail(MailSender.java:133)
at hudson.tasks.MailSender.execute(MailSender.java:81)
at hudson.tasks.Mailer.perform(Mailer.java:99)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:516)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:502)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:490)
at hudson.model.Build$RunnerImpl.post2(Build.java:181)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:474)
at hudson.model.Run.run(Run.java:1197)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)
Finished: FAILURE
Originally reported by track, imported from: invalid eMail-Adress breaks e-mailing to others
- assignee:
mindless
- status: Closed
- priority: Major
- component(s): mailer-plugin
- resolution: Fixed
- resolved: 2009-11-25T08:40:52+00:00
- votes: 0
- watchers: 0
- imported: 20251211-223321
Raw content of original issue
I have configured Hudson to send eMail at the end of a broken build. At first the hole dev-group get an eMail which Alias eMail address is entered by me in the correspond field. At second the developer who has checked in at last get an separate eMail. Now comes that one developer has inserted an invalid eMail address containing spaces into Bugzilla. As a result no one gets an eMail due to the fact that Hudson runs into an javax.mail.internet.AddressException:
Archiving artifacts Recording test results ERROR: Illegal whitespace in address javax.mail.internet.AddressException: Illegal whitespace in address in string ``Berend Corneliussun.com'' at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:926) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:819) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555) at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:91) at hudson.tasks.MailSender.buildCulpritList(MailSender.java:348) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:325) at hudson.tasks.MailSender.createFailureMail(MailSender.java:198) at hudson.tasks.MailSender.getMail(MailSender.java:133) at hudson.tasks.MailSender.execute(MailSender.java:81) at hudson.tasks.Mailer.perform(Mailer.java:99) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:516) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:502) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:490) at hudson.model.Build$RunnerImpl.post2(Build.java:181) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:474) at hudson.model.Run.run(Run.java:1197) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Finished: FAILURE
- environment:
Platform: Sun, OS: All
Activity
jenkins-infra-bot commentedon Nov 25, 2009
Raw content of original comment:
started
jenkins-infra-bot commentedon Nov 25, 2009
Raw content of original comment:
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/java/hudson/tasks/MailSender.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=24091
Log:
[FIXED JENKINS-4927] Send build status email to valid addresses rather than aborting
for one invalid address