Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4927

invalid eMail-Adress breaks e-mailing to others

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • mailer-plugin
    • None
    • Platform: Sun, OS: All

    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.<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

      Attachments

        Activity

          mindless Alan Harder added a comment -

          started

          mindless Alan Harder added a comment - started

          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

          scm_issue_link SCM/JIRA link daemon added a 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

          People

            mindless Alan Harder
            track track
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: