fix(NPE): fix NPE in EntityService (#11373)

This commit is contained in:
david-leifker 2024-09-13 08:01:02 -05:00 committed by GitHub
parent 54b8ce3018
commit cb7ac88bb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1041,6 +1041,7 @@ public class EntityServiceImpl implements EntityService<ChangeItemImpl> {
inputBatch,
DEFAULT_MAX_TRANSACTION_RETRY)
.stream()
.filter(Objects::nonNull)
.flatMap(List::stream)
.collect(Collectors.toList());
}