Uploaded image for project: 'JIRA (including JIRA Core)'
  1. JIRA (including JIRA Core)
  2. JRA-5354

Scheduler doesnt work with subscriptions to filters on JDK 1.5

    Details

      Description

      if we have subscriptions to filters the Scheduler dies with exception:

      Exception in thread "QuartzSchedulerThread" java.lang.ClassCastException: java.util.Date
      at java.sql.Timestamp.compareTo(Timestamp.java:474)
      at org.quartz.Trigger.compareTo(Trigger.java:611)
      at org.quartz.simpl.TriggerComparator.compare(RAMJobStore.java:904)
      at java.util.TreeMap.compare(TreeMap.java:1093)
      at java.util.TreeMap.getEntry(TreeMap.java:347)
      at java.util.TreeMap.remove(TreeMap.java:506)
      at java.util.TreeSet.remove(TreeSet.java:223)
      at org.quartz.simpl.RAMJobStore.acquireNextTrigger(RAMJobStore.java:735)
      at com.atlassian.scheduler.OfBizJobStore.acquireNextTrigger(OfBizJobStore.java:479)
      at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:197)

      and all the scheduled tasks dont execute not even services so no mails are sent and so on.
      if i remove all the subscriptions to filters everything works fine

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark@atlassian.com Mark Chaimungkalanont
                Reporter:
                ctomc Tomaz Cerar
              • Votes:
                10 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: