java.lang.IllegalArgumentException

The provided cron string does not have 7 parts: 0 0 * * * ? * 2,3,4,5,6

Solutions on the web19997

  • The provided cron string does not have 7 parts: 0 0 * * * ? * 2,3,4,5,6
  • The provided cron string does not have 7 parts: 0 0 * * * ? * 2,3,4,5,6
  • via Stack Overflow by user734861
    , 10 months ago
    Cron expression '0 * * * * *' in the job class com.runnercard.RemoveUserCodeJob is not a valid cron expression
  • Stack trace

    • java.lang.IllegalArgumentException: The provided cron string does not have 7 parts: 0 0 * * * ? * 2,3,4,5,6 at com.atlassian.jira.web.component.cron.parser.CronExpressionParser.parseCronString(CronExpressionParser.java:322) at com.atlassian.jira.web.component.cron.parser.CronExpressionParser.parseAndValidateCronString(CronExpressionParser.java:305) at com.atlassian.jira.web.component.cron.parser.CronExpressionParser.<init>(CronExpressionParser.java:75) at com.atlassian.jira.web.action.filter.FilterSubscription.doDefault(FilterSubscription.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.