Skip to content

Commit

Permalink
[Bug] [Master] Fix complementListDate will throw IndexOutOfBoundsExce…
Browse files Browse the repository at this point in the history
…ption (#14361)
  • Loading branch information
lxorc committed Jun 19, 2023
1 parent 906353b commit 5cbe170
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,11 @@ public boolean processComplementData() {

Date scheduleDate = processInstance.getScheduleTime();
if (scheduleDate == null) {
if (CollectionUtils.isEmpty(complementListDate)) {
log.info("complementListDate is empty, process complement end. process id:{}", processInstance.getId());

return true;
}
scheduleDate = complementListDate.get(0);
} else if (processInstance.getState().isFinished()) {
endProcess();
Expand Down

0 comments on commit 5cbe170

Please sign in to comment.