Do not send mail if there aren't any recipients -----------------------------------------------
Key: CONTINUUM-192 URL: http://jira.codehaus.org/browse/CONTINUUM-192 Project: Continuum Type: Bug Reporter: Trygve Laugstol Fix For: 1.0-alpha-3 org.codehaus.plexus.notification.NotificationException: Error while notifiying. at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:179) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:146) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:97) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:85) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:209) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:534) Caused by: org.apache.maven.continuum.ContinuumException: Exception while sending message. at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:342) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:263) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:174) ... 7 more Caused by: org.codehaus.plexus.mailsender.MailSenderException: The mail requires at least one recipient. at org.codehaus.plexus.mailsender.AbstractMailSender.verify(AbstractMailSender.java:137) at org.codehaus.plexus.mailsender.simple.SimpleMailSender.send(SimpleMailSender.java:71) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:338) ... 9 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira