Merge pull request #68 from pymma/kafka

Excell Import of Rule template does null pointer whena cell is not fi…
This commit is contained in:
Nicolas Héron 2020-07-20 11:42:56 +02:00 committed by GitHub
commit 128c39ca57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,9 @@ public class EditTemplateView extends VerticalLayout {
for (InterpolationVariable interpolationVariable : model.getInterpolationVariablesList()){
Object o = line.get(interpolationVariable.getVarName());
cols[k]=o.toString();
if (o!= null) {
cols[k] = o.toString();
}
k++;
}
model.addRow(cols);