Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-5354

Scheduler doesnt work with subscriptions to filters on JDK 1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.2 Beta
    • 3.0.3
    • Scheduled Tasks
    • None
    • Linux kernel 2.6.6
      java 1.5.0
      resin 3.0.9
      database MSSQL server 7

      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

            mark@atlassian.com MarkC
            439736f6692b Tomaz Cerar
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: