Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Tim Wong [Atlassian], 1 year ago
com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem
via Atlassian JIRA by Tim Wong [Atlassian], 2 years ago
com.atlassian.confluence.mail.template.ConfluenceMailQueueItem cannot be cast to com.atlassian.confluence.mail.template.MailNotificationQueueItem
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)