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
When using the method stepExecution.getEndTime() in a StepExecutionListener or the method JobExecution.getStartTime() in a JobExecutionListener, the End Time is null.
For the StepExecutionListener, I think it comes from the fact that all the registered listeners are called before the setEndTime() method().
The setEndTime is called on the finally block of public final void execute(StepExecution stepExecution) on line 211 and the registerd listeners are called on line 181 : exitStatus = exitStatus.and(getCompositeListener().afterStep(stepExecution));