Skip to content

Commit

Permalink
fix: NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
novoj committed Dec 16, 2024
1 parent 15aa056 commit 846db58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ private static List<GlobalIndexAndFormula> planNestedQuery(
final List<GlobalEntityIndex> globalIndexes = processingScope.getScopes()
.stream()
.map(scope -> targetEntityCollection.getIndexByKeyIfExists(new EntityIndexKey(EntityIndexType.GLOBAL, scope)))
.filter(Objects::nonNull)
.map(GlobalEntityIndex.class::cast)
.toList();
if (globalIndexes.isEmpty()) {
Expand Down

0 comments on commit 846db58

Please sign in to comment.