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

Jenkins JIRA | antonystubbs | 6 years ago
  1. 0

    [#JENKINS-7057] Invalid Illegal email address exception - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    javax.mail.internet.AddressException: Illegal address in string ``''
  2. 0

    The email address I have configured are very simple, just 4 email addresses: email1@gmail.com email2@gmail.com email3@gmail.com like that. It used to work, however now I'm seeing this. At the least it appears to be a bug in javax.mail as the the error is nearly useless (as usual). But perhaps email-ext to sanitise the addresses first and give a more helpful error? {code} 23/07/2010 11:03:06 PM hudson.plugins.emailext.ExtendedEmailPublisher addAddress WARNING: Could not create email address. javax.mail.internet.AddressException: Illegal address in string ``'' at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:94) at hudson.plugins.emailext.ExtendedEmailPublisher.addAddress(ExtendedEmailPublisher.java:353) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:277) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:227) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:219) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:180) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:640) at hudson.model.Run.run(Run.java:1299) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) {code}

    Jenkins JIRA | 6 years ago | antonystubbs
    javax.mail.internet.AddressException: Illegal address in string ``''
  3. 0

    The email address I have configured are very simple, just 4 email addresses: email1@gmail.com email2@gmail.com email3@gmail.com like that. It used to work, however now I'm seeing this. At the least it appears to be a bug in javax.mail as the the error is nearly useless (as usual). But perhaps email-ext to sanitise the addresses first and give a more helpful error? {code} 23/07/2010 11:03:06 PM hudson.plugins.emailext.ExtendedEmailPublisher addAddress WARNING: Could not create email address. javax.mail.internet.AddressException: Illegal address in string ``'' at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:94) at hudson.plugins.emailext.ExtendedEmailPublisher.addAddress(ExtendedEmailPublisher.java:353) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:277) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:227) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:219) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:180) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:640) at hudson.model.Run.run(Run.java:1299) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) {code}

    Jenkins JIRA | 6 years ago | antonystubbs
    javax.mail.internet.AddressException: Illegal address in string ``''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson email ext plugin bug?

    Stack Overflow | 7 years ago
    javax.mail.internet.AddressException: Illegal address in string ``''
  6. 0

    [JENKINS-1529] email-ext cannot send emails when global recepient list is empty - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    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:94)
      1 frame
    3. Hudson Email Extension Plugin
      ExtendedEmailPublisher.perform
      1. hudson.plugins.emailext.ExtendedEmailPublisher.addAddress(ExtendedEmailPublisher.java:353)
      2. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:277)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:227)
      4. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:219)
      5. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:180)
      5 frames
    4. Hudson
      AbstractBuild$AbstractRunner.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      3 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.cleanUp
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:640)
      1 frame
    6. Hudson
      Run.run
      1. hudson.model.Run.run(Run.java:1299)
      1 frame
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:129)
      2 frames