javax.mail.internet.AddressException: Illegal address

Apereo Issues | Jason Elwood | 4 years ago
  1. 0

    It appears that my local system is attempting to send mail even though the config.send_mail = False. The message.sent_date values are seconds to minutes after the created date. The logs shows the attempt as caught by a data error. DEV: 18:34:20.134 [sspScheduler-3] WARN o.j.s.s.impl.MessageServiceImpl - Invalid carbon copy address: ','. Will attempt to send message anyway. javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708) ~[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setCc(MimeMessageHelper.java:630) ~[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.service.impl.MessageServiceImpl.sendMessage(MessageServiceImpl.java:363) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessageBatch(MessageServiceImpl.java:283) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl.access$000(MessageServiceImpl.java:68) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:225) [MessageServiceImpl$1.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:221) [MessageServiceImpl$1.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:55) [WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:60) [WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.withTransactionAndUncheckedExceptions(WithTransactionImpl.java:51) [WithTransactionImpl.class:na] at sun.reflect.GeneratedMethodAccessor558.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy263.withTransactionAndUncheckedExceptions(Unknown Source) [na:na] at org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessages(MessageServiceImpl.java:219) [MessageServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor557.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy267.sendQueuedMessages(Unknown Source) [na:na] at sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_38] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_38] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_38] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_38] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_38] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_38] DEV: 18:34:20.137 [sspScheduler-3] WARN o.j.s.s.impl.MessageServiceImpl - _ : JavaMailSender was not called; message was marked sent but was not actually sent. To enable mail, update the configuration of the app.

    Apereo Issues | 4 years ago | Jason Elwood
    javax.mail.internet.AddressException: Illegal address
  2. 0

    It appears that my local system is attempting to send mail even though the config.send_mail = False. The message.sent_date values are seconds to minutes after the created date. The logs shows the attempt as caught by a data error. DEV: 18:34:20.134 [sspScheduler-3] WARN o.j.s.s.impl.MessageServiceImpl - Invalid carbon copy address: ','. Will attempt to send message anyway. javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708) ~[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setCc(MimeMessageHelper.java:630) ~[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.jasig.ssp.service.impl.MessageServiceImpl.sendMessage(MessageServiceImpl.java:363) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessageBatch(MessageServiceImpl.java:283) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl.access$000(MessageServiceImpl.java:68) [MessageServiceImpl.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:225) [MessageServiceImpl$1.class:na] at org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:221) [MessageServiceImpl$1.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:55) [WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:60) [WithTransactionImpl.class:na] at org.jasig.ssp.util.transaction.WithTransactionImpl.withTransactionAndUncheckedExceptions(WithTransactionImpl.java:51) [WithTransactionImpl.class:na] at sun.reflect.GeneratedMethodAccessor558.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy263.withTransactionAndUncheckedExceptions(Unknown Source) [na:na] at org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessages(MessageServiceImpl.java:219) [MessageServiceImpl.class:na] at sun.reflect.GeneratedMethodAccessor557.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at $Proxy267.sendQueuedMessages(Unknown Source) [na:na] at sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_38] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_38] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_38] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_38] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_38] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_38] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_38] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_38] DEV: 18:34:20.137 [sspScheduler-3] WARN o.j.s.s.impl.MessageServiceImpl - _ : JavaMailSender was not called; message was marked sent but was not actually sent. To enable mail, update the configuration of the app.

    Apereo Issues | 4 years ago | Jason Elwood
    javax.mail.internet.AddressException: Illegal address
  3. 0

    The Health Check tab in the Support Tools plugin accepts an additional email address to send to. When this is filled in, the health check fails to send because the comma separated list of recipients (plural) is deemed an invalid recipient (singular). Log (addresses redacted): {noformat} 2013-12-04 14:54:14,386 INFO [localhost-startStop-1] stash.mail-log Starting mail service 2013-12-04 15:05:35,248 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:709) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:593) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:105) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] ... 13 common frames omitted 2013-12-04 17:45:18,259 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na]{noformat}

    Atlassian JIRA | 3 years ago | Roger Barnes
    org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The Health Check tab in the Support Tools plugin accepts an additional email address to send to. When this is filled in, the health check fails to send because the comma separated list of recipients (plural) is deemed an invalid recipient (singular). Log (addresses redacted): {noformat} 2013-12-04 14:54:14,386 INFO [localhost-startStop-1] stash.mail-log Starting mail service 2013-12-04 15:05:35,248 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:709) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:593) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:105) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] ... 13 common frames omitted 2013-12-04 17:45:18,259 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na]{noformat}

    Atlassian JIRA | 3 years ago | Roger Barnes
    org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com''

    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

      at org.springframework.mail.javamail.MimeMessageHelper.parseAddress()
    2. Spring Context Support
      MimeMessageHelper.setCc
      1. org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708)[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.mail.javamail.MimeMessageHelper.setCc(MimeMessageHelper.java:630)[spring-context-support-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    3. org.jasig.ssp
      WithTransactionImpl.withTransactionAndUncheckedExceptions
      1. org.jasig.ssp.service.impl.MessageServiceImpl.sendMessage(MessageServiceImpl.java:363)[MessageServiceImpl.class:na]
      2. org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessageBatch(MessageServiceImpl.java:283)[MessageServiceImpl.class:na]
      3. org.jasig.ssp.service.impl.MessageServiceImpl.access$000(MessageServiceImpl.java:68)[MessageServiceImpl.class:na]
      4. org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:225)[MessageServiceImpl$1.class:na]
      5. org.jasig.ssp.service.impl.MessageServiceImpl$1.call(MessageServiceImpl.java:221)[MessageServiceImpl$1.class:na]
      6. org.jasig.ssp.util.transaction.WithTransactionImpl.doWork(WithTransactionImpl.java:55)[WithTransactionImpl.class:na]
      7. org.jasig.ssp.util.transaction.WithTransactionImpl.doWorkUnchecked(WithTransactionImpl.java:60)[WithTransactionImpl.class:na]
      8. org.jasig.ssp.util.transaction.WithTransactionImpl.withTransactionAndUncheckedExceptions(WithTransactionImpl.java:51)[WithTransactionImpl.class:na]
      8 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor558.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_38]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_38]
      3 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    8. Unknown
      $Proxy263.withTransactionAndUncheckedExceptions
      1. $Proxy263.withTransactionAndUncheckedExceptions(Unknown Source)[na:na]
      1 frame
    9. org.jasig.ssp
      MessageServiceImpl.sendQueuedMessages
      1. org.jasig.ssp.service.impl.MessageServiceImpl.sendQueuedMessages(MessageServiceImpl.java:219)[MessageServiceImpl.class:na]
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor557.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_38]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_38]
      3 frames
    11. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    12. Unknown
      $Proxy267.sendQueuedMessages
      1. $Proxy267.sendQueuedMessages(Unknown Source)[na:na]
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_38]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_38]
      3 frames
    14. Spring Context
      DelegatingErrorHandlingRunnable.run
      1. org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[na:1.6.0_38]
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[na:1.6.0_38]
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[na:1.6.0_38]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[na:1.6.0_38]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[na:1.6.0_38]
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[na:1.6.0_38]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_38]
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_38]
      9. java.lang.Thread.run(Thread.java:662)[na:1.6.0_38]
      9 frames