Jump to content
  • Send Job Status Notifications do not work


    mikegeorge99
    Assigned User anonymous
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionOpen
    SeverityMinor
    StatusNew
    Versionv5.5

    The new "Send job status notifications" do not work in V5.5 (Community Edition). Normal Email Notifications work fine. This has been reproduced both in an upgrade environment (5.0->5.5) and also on a new 5.5 install. Mail settings have been verified in js.quartz.properties (and as stated above, normal notifications do work).

     

    Stack trace

     

     

    2014-01-23 15:26:03,312 ERROR ReportExecutionJobAlertImpl,quartzScheduler_Worker-1:104 - Error while sending report job alert notification

    javax.mail.internet.AddressException: Illegal address in string ``''

    at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708)

    at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:592)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobAlertImpl.sendAlertMail(ReportExecutionJobAlertImpl.java:78)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendAlertMail(ReportExecutionJob.java:594)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:574)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:217)

    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

    2014-01-23 15:26:03,312 ERROR ReportExecutionJob,quartzScheduler_Worker-1:306 - fail to send out alert mail notification

    com.jaspersoft.jasperserver.api.JSExceptionWrapper:

    javax.mail.internet.AddressException: Illegal address in string ``''

    at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708)

    at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:592)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobAlertImpl.sendAlertMail(ReportExecutionJobAlertImpl.java:78)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendAlertMail(ReportExecutionJob.java:594)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:574)

    at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:217)

    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)



    User Feedback

    Recommended Comments

    Changed Assigned User from - to @User_306070


    We have a bug report on this error and currently are working on a fix to solve this problem.Until a fix is made available, users need to make sure all their users in repository user table have e-mail address provided. This can be done through Manage - User tab in JRS 5.5 web UI, then edit and enter an e-mail address for each user.
    Link to comment
    Share on other sites

    Changed Assigned User from @User_306070 to @anonymous


    To clarify, the issue is that when a job status notification is send, it also copies the job initiator and its organization administrator. The any of them does not have an e-mail address, then the entire e-mail will fail. If you provide an e-mail, even it is a fake one, at least the job status notification will be sent to the intended recipients. Any cc'ed recipient with fake address will be rejected by the mail service, but this will not block any good recipients from getting the e-mail. Therefore, users can make a whole sale DB update using the following query, if they do not wish to edit each user profile manually and individually:update jiuser set emailaddress = 'johndoe@doamain.com' where emailaddress = ''
    Link to comment
    Share on other sites


×
×
  • Create New...