java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

Atlassian JIRA | Mark Gaylard | 10 years ago
  1. 0

    [BAM-1046] Valid cron expression not really valid - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
  2. 0

    When specifying a cron trigger, I used 0 0 20 * * MON-THU It appeared to save ok, but when it didn't run the build I checked the bamboo.log file and found 2007-03-20 09:56:22,576 ERROR [SocketListener0-7] [CronTriggerBuildStrategy] java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. at org.quartz.CronExpression.getTimeAfter(CronExpression.java:1234) at org.quartz.CronTrigger.getTimeAfter(CronTrigger.java:857) at org.quartz.CronTrigger.getFireTimeAfter(CronTrigger.java:587) at org.quartz.CronTrigger.computeFirstFireTime(CronTrigger.java:836) at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:606) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238) at com.atlassian.bamboo.build.strategy.CronTriggerBuildStrategy.initialiseJob(CronTriggerBuildStrategy.java:100) at com.atlassian.bamboo.build.HibernateBuildManager.createSchedulingJobs(HibernateBuildManager.java:384) at com.atlassian.bamboo.build.HibernateBuildManager.saveBuildConfig(HibernateBuildManager.java:205) <snip> Changing the cron expression to 0 0 20 ? * MON-THU worked ok. The first style is a valid cron expression (it came out of an existing crontab file). If it isn't valid for quartz, an error message should be shown.

    Atlassian JIRA | 10 years ago | Mark Gaylard
    java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
  3. 0

    When specifying a cron trigger, I used 0 0 20 * * MON-THU It appeared to save ok, but when it didn't run the build I checked the bamboo.log file and found 2007-03-20 09:56:22,576 ERROR [SocketListener0-7] [CronTriggerBuildStrategy] java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. at org.quartz.CronExpression.getTimeAfter(CronExpression.java:1234) at org.quartz.CronTrigger.getTimeAfter(CronTrigger.java:857) at org.quartz.CronTrigger.getFireTimeAfter(CronTrigger.java:587) at org.quartz.CronTrigger.computeFirstFireTime(CronTrigger.java:836) at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:606) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238) at com.atlassian.bamboo.build.strategy.CronTriggerBuildStrategy.initialiseJob(CronTriggerBuildStrategy.java:100) at com.atlassian.bamboo.build.HibernateBuildManager.createSchedulingJobs(HibernateBuildManager.java:384) at com.atlassian.bamboo.build.HibernateBuildManager.saveBuildConfig(HibernateBuildManager.java:205) <snip> Changing the cron expression to 0 0 20 ? * MON-THU worked ok. The first style is a valid cron expression (it came out of an existing crontab file). If it isn't valid for quartz, an error message should be shown.

    Atlassian JIRA | 10 years ago | Mark Gaylard
    java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

    YouTrack | 6 years ago
    java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
  6. 0

    Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

    YouTrack | 5 years ago
    java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

    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. java.lang.UnsupportedOperationException

      Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

      at org.quartz.CronExpression.getTimeAfter()
    2. quartz
      StdScheduler.scheduleJob
      1. org.quartz.CronExpression.getTimeAfter(CronExpression.java:1234)
      2. org.quartz.CronTrigger.getTimeAfter(CronTrigger.java:857)
      3. org.quartz.CronTrigger.getFireTimeAfter(CronTrigger.java:587)
      4. org.quartz.CronTrigger.computeFirstFireTime(CronTrigger.java:836)
      5. org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:606)
      6. org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)
      6 frames
    3. com.atlassian.bamboo
      HibernateBuildManager.saveBuildConfig
      1. com.atlassian.bamboo.build.strategy.CronTriggerBuildStrategy.initialiseJob(CronTriggerBuildStrategy.java:100)
      2. com.atlassian.bamboo.build.HibernateBuildManager.createSchedulingJobs(HibernateBuildManager.java:384)
      3. com.atlassian.bamboo.build.HibernateBuildManager.saveBuildConfig(HibernateBuildManager.java:205)
      3 frames