avoid NPE - continue
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / src / main / java / eu / etaxonomy / taxeditor / bulkeditor / e4 / BulkEditorTooltip.java
index 8d80f3501f938148a2d34ed0ee2cc32cf9bd814c..8a01f594997a77135c0b213253d202faef823556 100644 (file)
@@ -60,7 +60,10 @@ public class BulkEditorTooltip extends DefaultToolTip {
         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;
         }