I'd suggest to not modify cells here, but just use empty string if index is greater than row's length
```String call = colIndex < cells.size() ? cells.get(colIndex) : "";```