add null check to SuggestHelper
@@ -316,13 +316,17 @@ public class SuggestHelper {
}
final List<String> labelList = new ArrayList<>();
+ if (tags != null) {
for (final String label : tags) {
labelList.add(label);
}
+ }
final List<String> roleList = new ArrayList<>();
+ if (permissions != null) {
for (final String permission : permissions) {
roleList.add(permission);
}
+ }
suggester.indexer().addElevateWord(
new org.codelibs.fess.suggest.entity.ElevateWord(word, boost, Arrays.asList(readings), contentFieldList, labelList,
