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]

Atlassian JIRA | Tim Wong [Atlassian] | 8 years ago
  1. 0

    {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}

    Atlassian JIRA | 8 years ago | Tim Wong [Atlassian]
    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]
  2. 0

    {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}

    Atlassian JIRA | 8 years ago | Tim Wong [Atlassian]
    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]
  3. 0

    Suddenly appengine devmode task requests to 0.0.0.0 refused

    Stack Overflow | 5 years ago | Riley Lark
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://0.0.0.0:8888/tasks/cleanup: Connection to http://0.0.0.0:8888 refused]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why am I getting a can't load class, when the class is in my JAR file?

    Stack Overflow | 4 years ago | Dave
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: javax.ejb.EJBTransactionRolledbackException: Cannot load java type: org.mainco.bsorg.BusinessServiceFaultException]
  6. 0

    Hibernate 4: How do I resolve a "An AnnotationConfiguration instance is required to use

    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: javax.ejb.EJBTransactionRolledbackException: An AnnotationConfiguration instance is required to use <mapping class="com.mainco.fdr.myproject.model.UserRole"/>]

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:214)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames