org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``''

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Srivatsa.kashyap, 1 year ago
Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``''
org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``''
at javax.mail.internet.InternetAddress.(InternetAddress.java:108)
at org.springframework.mail.javamail.MimeMessageHelper.setCc(MimeMessageHelper.java:638)
at org.springframework.mail.javamail.MimeMailMessage.setCc(MimeMailMessage.java:123)
at org.springframework.mail.SimpleMailMessage.copyTo(SimpleMailMessage.java:185)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:305)
at com.vaau.rbacx.system.manager.MailManagerImpl.sendSimpleMessage(MailManagerImpl.java:298)
at com.vaau.rbacx.eventlistener.service.EventListenerServiceImpl.sendThresholdExceededNotification(EventListenerServiceImpl.java:615)
at com.vaau.rbacx.eventlistener.service.EventListenerServiceImpl.fireEventTrigger(EventListenerServiceImpl.java:535)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.vaau.rbacx.scheduling.executor.eventlistener.EventTriggerJobExecutor.execute(EventTriggerJobExecutor.java:27)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.