if(row==0){
return colHeaderDataProvider.getDataValue(colIndex, rowIndex).toString();
}
- Object dataValue = natTable.getCellByPosition(col, row).getDataValue();
+ Object dataValue = null;
+ if (natTable != null && natTable.getCellByPosition(col, row) != null){
+ dataValue = natTable.getCellByPosition(col, row).getDataValue();
+ }
if (dataValue == null){
return null;
}