DATAKV-114 - Fixed NullPointerException in SpelQueryEngine.
Original pull request: #15.
This commit is contained in:
committed by
Oliver Gierke
parent
ddeee72f0d
commit
4b217cef15
@@ -93,7 +93,7 @@ class SpelQueryEngine<T extends KeyValueAdapter> extends QueryEngine<KeyValueAda
|
||||
matches = criteria.getValue(candidate, Boolean.class);
|
||||
} catch (SpelEvaluationException e) {
|
||||
criteria.getEvaluationContext().setVariable("it", candidate);
|
||||
matches = criteria.getValue(Boolean.class);
|
||||
matches = criteria.getValue() == null ? false : criteria.getValue(Boolean.class);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user