org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {code} 2009-03-13 03:00:00,011 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.JobRunShell] run Job DEFAULT.clearOldMailErrorsJob threw an unhandled Exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem at com.atlassian.confluence.mail.jobs.ClearOldMailErrors.doExecute(ClearOldMailErrors.java:33) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:64) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2009-03-13 03:00:00,041 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.clearOldMailErrorsJob threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem at com.atlassian.confluence.mail.jobs.ClearOldMailErrors.doExecute(ClearOldMailErrors.java:33) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:64) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {code}
    via by Tim Wong [Atlassian],
  • {code} 2009-03-13 03:00:00,011 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.JobRunShell] run Job DEFAULT.clearOldMailErrorsJob threw an unhandled Exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem at com.atlassian.confluence.mail.jobs.ClearOldMailErrors.doExecute(ClearOldMailErrors.java:33) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:64) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2009-03-13 03:00:00,041 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.clearOldMailErrorsJob threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem at com.atlassian.confluence.mail.jobs.ClearOldMailErrors.doExecute(ClearOldMailErrors.java:33) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:64) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {code}
    via by Tim Wong [Atlassian],
  • Bernhard's Weblog
    via by Unknown author,
  • Planet NetBeans
    via by Unknown author,
    • org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates