org.quartz.JobPersistenceException

Couldn't retrieve trigger: CronExpression '0 0 0 ? * SUN#5,MON#5' is invalid,. [See nested exception: java.lang.RuntimeEx ception: CronExpression '0 0 0 ? * SUN#5,MON#5' is invalid,.]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

Stack trace

  • org.quartz.JobPersistenceException: Couldn't retrieve trigger: CronExpression '0 0 0 ? * SUN#5,MON#5' is invalid,. [See nested exception: java.lang.RuntimeEx ception: CronExpression '0 0 0 ? * SUN#5,MON#5' is invalid,.] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1524) at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:968) at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3174) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3934) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:3955) Caused by: java.lang.RuntimeException: CronExpression '0 0 0 ? * SUN#5,MON#5' is invalid,. at org.quartz.CronScheduleBuilder.cronSchedule(CronScheduleBuilder.java:105) at org.quartz.impl.jdbcjobstore.CronTriggerPersistenceDelegate.loadExtendedTriggerProperties(CronTriggerPersistenceDelegate.java:84) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1801) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1520) ... 4 more Caused by: java.text.ParseException: Support for specifying multiple "nth" days is not imlemented. at org.quartz.CronExpression.buildExpression(CronExpression.java:457) at org.quartz.CronExpression.<init>(CronExpression.java:276) at org.quartz.CronScheduleBuilder.cronSchedule(CronScheduleBuilder.java:102) ... 7 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

linxiaolonglinxiaolong
Once,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,