Excell Import of Rule template does null pointer whena cell is not filled
This commit is contained in:
parent
618b180451
commit
337a723d49
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,9 @@ public class EditTemplateView extends VerticalLayout {
|
||||||
for (InterpolationVariable interpolationVariable : model.getInterpolationVariablesList()){
|
for (InterpolationVariable interpolationVariable : model.getInterpolationVariablesList()){
|
||||||
|
|
||||||
Object o = line.get(interpolationVariable.getVarName());
|
Object o = line.get(interpolationVariable.getVarName());
|
||||||
|
if (o!= null) {
|
||||||
cols[k] = o.toString();
|
cols[k] = o.toString();
|
||||||
|
}
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
model.addRow(cols);
|
model.addRow(cols);
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue