java.lang.RuntimeException: CronExpression '0/5' is invalid.

GitHub | workcheng | 3 months ago
  1. 0

    Qartz regex accepts cron but won't builds a job from it

    Stack Overflow | 3 years ago | boneash
    java.lang.RuntimeException: CronExpression '0 0 * * * *' is invalid.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java 运行错误

    sogou.com | 2 years ago
    java.text.ParseException: Unexpected end of expression.

    1 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. java.text.ParseException

      Unexpected end of expression.

      at org.quartz.CronExpression.buildExpression()
    2. quartz
      CronScheduleBuilder.cronSchedule
      1. org.quartz.CronExpression.buildExpression(CronExpression.java:494)[quartz-2.2.1.jar:na]
      2. org.quartz.CronExpression.<init>(CronExpression.java:276)[quartz-2.2.1.jar:na]
      3. org.quartz.CronScheduleBuilder.cronSchedule(CronScheduleBuilder.java:107)[quartz-2.2.1.jar:na]
      3 frames
    3. com.dangdang.ddframe
      JobScheduler.init
      1. com.dangdang.ddframe.job.lite.internal.schedule.JobScheduleController.createTrigger(JobScheduleController.java:83)[elastic-job-lite-core-2.0.0-SNAPSHOT.jar:na]
      2. com.dangdang.ddframe.job.lite.internal.schedule.JobScheduleController.scheduleJob(JobScheduleController.java:58)[elastic-job-lite-core-2.0.0-SNAPSHOT.jar:na]
      3. com.dangdang.ddframe.job.lite.api.JobScheduler.init(JobScheduler.java:90)[elastic-job-lite-core-2.0.0-SNAPSHOT.jar:na]
      3 frames
    4. com.cheng.test
      JavaLiteJobMain.main
      1. com.cheng.test.JavaLiteJobMain.setUpScriptJob(JavaLiteJobMain.java:95)[test-classes/:na]
      2. com.cheng.test.JavaLiteJobMain.main(JavaLiteJobMain.java:63)[test-classes/:na]
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74]
      4 frames
    6. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)[idea_rt.jar:na]
      1 frame