You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If "L" is used alone on the seconds, minutes, hours, or months of an cron expression,
but otherwise formatted correctly. This method CronExpression.isValidExpression will return true, but the actual expression is wrong and should return false. For example:
CronExpression.isValidExpression("L 30 * * * ?"); // will return true
However, when we calculate the next trigger time through TriggerUtils.computeFireTimes() with this expression, an NoSuchElementException will be thrown. For Example :
but otherwise formatted correctly. This method
CronExpression.isValidExpression
will return true, but the actual expression is wrong and should return false. For example:CronExpression.isValidExpression("L 30 * * * ?"); // will return true
TriggerUtils.computeFireTimes()
with this expression, anNoSuchElementException
will be thrown. For Example :TriggerUtils.computeFireTimes(new CronExpression("L 30 * * * ?"), null, 5); // throw runtime exception
ParseException
when constructing aCronExpression
in this case?The text was updated successfully, but these errors were encountered: