Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-639

Email Scehduler job fails if invalid email in list.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1 Minor fixes
    • Fix Version/s: 1.3.0
    • Component/s: Jobs Processing
    • Labels:
      None

      Description

      If the list of recipients contains an ilegal email adress the scheduler job seems to fail. Trace is thrown from:

      2009-01-28 12:30:17,832 ERROR QuartzScheduler_Worker-3 org.sakaiproject.evaluation.logic.externals.EvalExternalLogicImpl - Invalid to address: uct e-mail, skipping...
      javax.mail.internet.AddressException: Illegal whitespace in address in string ``uct e-mail''
      at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:900)
      at javax.mail.internet.InternetAddress.parse(InternetAddress.java:793)
      at javax.mail.internet.InternetAddress.parse(InternetAddress.java:529)
      at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:65)
      at org.sakaiproject.evaluation.logic.externals.EvalExternalLogicImpl.sendEmails(EvalExternalLogicImpl.java:652)
      at org.sakaiproject.evaluation.logic.externals.EvalExternalLogicImpl.sendEmailsToAddresses(EvalExternalLogicImpl.java:632)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToAddresses_aroundBody44(EvalCommonLogicImpl.java:509)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToAddresses_aroundBody45$advice(EvalCommonLogicImpl.java:84)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToAddresses(EvalCommonLogicImpl.java:1)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToUsers_aroundBody42(EvalCommonLogicImpl.java:505)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToUsers_aroundBody43$advice(EvalCommonLogicImpl.java:84)
      at org.sakaiproject.evaluation.logic.EvalCommonLogicImpl.sendEmailsToUsers(EvalCommonLogicImpl.java:1)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      The job reports:
      2009-01-28 12:30:18,004 ERROR QuartzScheduler_Worker-3 org.sakaiproject.component.app.scheduler.jobs.ScheduledInvocationRunner - Failed to execute component: [org.sakaiproject.evaluation.logic.externals.EvalScheduledInvocation]: java.lang.IllegalArgumentException: The following exceptions were deferred (full trace above in the log): Sent emails to 869 addresses before failure ocurred: Failure summary: nullIllegal whitespace in address ::

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                dhorwitz David Horwitz
                Reporter:
                dhorwitz David Horwitz
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration