Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3067

Course reminder is sent multiple times

    XMLWordPrintable

    Details

      Description

      Course reminder was sent not once but multiple times. Reason was a wrong configuration of a reminder rule which resulted in a hidden exception. As a result the reminder was not marked as sent.

       

      2017-10-08 01:00:00,452 [schedulerFactoryBean_Worker-3] ERROR ErrorLogger  - Job (DEFAULT.reminderJobDetail threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NumberFormatException: For input string: "-10d"]
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:234)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: java.lang.NumberFormatException: For input string: "-10d"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:580)
      	at java.lang.Integer.parseInt(Integer.java:615)
      	at org.olat.modules.reminder.rule.RepositoryEntryLifecycleAfterValidToRuleSPI.evaluate(RepositoryEntryLifecycleAfterValidToRuleSPI.java:83)
      	at org.olat.modules.reminder.rule.RepositoryEntryLifecycleAfterValidToRuleSPI.evaluate(RepositoryEntryLifecycleAfterValidToRuleSPI.java:72)
      	at org.olat.modules.reminder.manager.ReminderRuleEngine.evaluateRepositoryEntryRule(ReminderRuleEngine.java:136)
      	at org.olat.modules.reminder.manager.ReminderRuleEngine.evaluate(ReminderRuleEngine.java:90)
      	at org.olat.modules.reminder.manager.ReminderServiceImpl.sendReminder(ReminderServiceImpl.java:234)
      	at org.olat.modules.reminder.manager.ReminderServiceImpl.remindAll(ReminderServiceImpl.java:228)
      	at org.olat.modules.reminder.manager.ReminderJob.executeWithDB(ReminderJob.java:43)
      	at org.olat.core.commons.services.scheduler.JobWithDB.executeInternal(JobWithDB.java:59)
      	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
      

       

        Attachments

          Activity

            People

            Assignee:
            uhensler Urs Hensler
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Sabrina Scheiwiler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 5 minutes
                4h 5m