DATAKV-114 - Fixed NullPointerException in SpelQueryEngine.
Original pull request: #15.
This commit is contained in:
committed by
Oliver Gierke
parent
b24129bddd
commit
95c56c8dd4
@@ -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