fix null-pointer exception in filter result

closes sk22#774
This commit is contained in:
sk
2023-08-27 13:52:31 +02:00
parent c6acd35ceb
commit 91bf1b277f

View File

@@ -14,6 +14,7 @@ public class FilterResult extends BaseModel {
@Override @Override
public void postprocess() throws ObjectValidationException { public void postprocess() throws ObjectValidationException {
super.postprocess(); super.postprocess();
if (filter != null) filter.postprocess(); if(filter!=null) filter.postprocess();
if(keywordMatches==null) keywordMatches=List.of();
} }
} }