Hello,

When I schedule a schedule a task with IgniteScheduler.scheduleLocal(), then 
immediately call SchedulerFuture.nextExecutionTime(), Ignite throws an 
exception:

                SchedulerFuture schedulerFuture = scheduler.scheduleLocal(() -> 
dispatchNow(job), cronString);
                long nextExecutionTime = schedulerFuture.nextExecutionTime();

java.lang.ArrayIndexOutOfBoundsException: 0
at 
org.apache.ignite.internal.processors.schedule.ScheduleFutureImpl.nextExecutionTime(ScheduleFutureImpl.java:437)
 ~[ignite-schedule-1.2.0-incubating.jar!/:1.3.0-incubating]

cronString has the value: {55} 53 3/5 * * * ?

Am I doing something wrong here? The JavaDoc has no stipulation on when 
nextExecutionTime() may be called after a task is scheduled.

Thanks.

Reply via email to