java.lang.IllegalArgumentException: 'To' is a required field

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 Atlassian JIRA by Nick Menere [Atlassian], 1 year ago
'To' is a required field
via Atlassian JIRA by Nick Menere [Atlassian], 1 year ago
'To' is a required field
via Atlassian JIRA by Christopher Owen [Atlassian], 1 year ago
'To' is a required field
via JIRA by Benjamin Dombrowsky, 1 year ago
One of 'To', 'CC' or 'BCC' is required
via JIRA by Benjamin Dombrowsky, 1 year ago
One of 'To', 'CC' or 'BCC' is required
java.lang.IllegalArgumentException: 'To' is a required field
at com.atlassian.mail.Email.(Email.java:51)
at com.atlassian.jira.mail.Email.(Email.java:18)
at com.atlassian.jira.mail.MailingListCompiler.createEmail(MailingListCompiler.java:297)
at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:249)
at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:35)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:423)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:391)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendForEvent(MailingListCompiler.java:345)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:126)
at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:167)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)

Users with the same issue

You are the first who have seen this exception.

Write tip

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