javax.mail.internet.AddressException: Illegal address in string `` ''

owncloud.org | 3 months ago
  1. 0

    [Jenkins] Build failed in Jenkins: ownCloud-Android #127

    owncloud.org | 3 months ago
    javax.mail.internet.AddressException: Illegal address in string `` ''
  2. 0

    In project, when "Send separate e-mails to individuals who broke the build" is enabled and more than one recipient should receive a job status email, we get: {code:title=stacktrace|borderStyle=solid} Sonar analysis completed: SUCCESS ERROR: Unable to send to address: developer1@sample.ex,developer2@sample.ex javax.mail.internet.AddressException: Illegal address in string ``developer1@sample.ex,developer2@sample.ex'' at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114) at hudson.tasks.Mailer.StringToAddress(Mailer.java:180) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:254) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:137) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:129) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:380) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:201) at hudson.tasks.MailSender.createMail(MailSender.java:194) at hudson.tasks.MailSender.run(MailSender.java:107) at hudson.tasks.Mailer.perform(Mailer.java:141) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Sending e-mails to: dev-issues@sample.ex {code} This happens if you got a failed job and 2 or more developers committed to the project during the fail state. In this case, the build problem was fixed, so 2 developers need to get the email. Seems the formatting of the recipients is wrong. I'm not sure if this problem was also in former versions of the plugin.

    Jenkins JIRA | 2 years ago | Robert Oschwald
    javax.mail.internet.AddressException: Illegal address in string ``developer1@sample.ex,developer2@sample.ex''
  3. 0

    In project, when "Send separate e-mails to individuals who broke the build" is enabled and more than one recipient should receive a job status email, we get: {code:title=stacktrace|borderStyle=solid} Sonar analysis completed: SUCCESS ERROR: Unable to send to address: developer1@sample.ex,developer2@sample.ex javax.mail.internet.AddressException: Illegal address in string ``developer1@sample.ex,developer2@sample.ex'' at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114) at hudson.tasks.Mailer.StringToAddress(Mailer.java:180) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:254) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:137) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:129) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:380) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:201) at hudson.tasks.MailSender.createMail(MailSender.java:194) at hudson.tasks.MailSender.run(MailSender.java:107) at hudson.tasks.Mailer.perform(Mailer.java:141) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Sending e-mails to: dev-issues@sample.ex {code} This happens if you got a failed job and 2 or more developers committed to the project during the fail state. In this case, the build problem was fixed, so 2 developers need to get the email. Seems the formatting of the recipients is wrong. I'm not sure if this problem was also in former versions of the plugin.

    Jenkins JIRA | 2 years ago | Robert Oschwald
    javax.mail.internet.AddressException: Illegal address in string ``developer1@sample.ex,developer2@sample.ex''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-26606] Unable send email - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    javax.mail.internet.AddressException: Illegal address in string ``user1@mycompany.tld,user2@mycompany.tld,user3@mycompany.tld''
  6. 0

    Issue in bursting through email BIP

    Oracle Community | 6 years ago | joysinha
    javax.mail.internet.AddressException: Illegal address in string `` ''

    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

      Illegal address in string `` ''

      at javax.mail.internet.InternetAddress.<init>()
    2. JavaMail API
      InternetAddress.<init>
      1. javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114)
      1 frame
    3. Hudson
      Mailer.StringToAddress
      1. hudson.tasks.Mailer.StringToAddress(Mailer.java:180)
      1 frame
    4. jenkins.plugins.mailer
      MimeMessageBuilder.addRecipients
      1. jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:254)
      2. jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:137)
      3. jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:129)
      3 frames
    5. Hudson
      Executor.run
      1. hudson.tasks.MailSender.createEmptyMail(MailSender.java:380)
      2. hudson.tasks.MailSender.createFailureMail(MailSender.java:260)
      3. hudson.tasks.MailSender.createMail(MailSender.java:178)
      4. hudson.tasks.MailSender.run(MailSender.java:107)
      5. hudson.tasks.Mailer.perform(Mailer.java:141)
      6. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
      7. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      8. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
      10. hudson.model.Build$BuildExecution.post2(Build.java:183)
      11. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      12. hudson.model.Run.execute(Run.java:1743)
      13. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      14. hudson.model.ResourceController.execute(ResourceController.java:89)
      15. hudson.model.Executor.run(Executor.java:240)
      15 frames