Hi there,
The change introduced in commit b2acf69b51cec80393f13e8f280c83cc181e0bb9 may lead to a IndexOutOfBoundsException when the grid is for example used as an assignment component where items get added/removed between different grids.
This happens above all when the cell is double-clicked/clicked multiple times or is part of a TestBench test.
The IndexOutOfBoundsException happens at com.vaadin.componentfactory.selectiongrid.SelectionGrid#obtainNewSelectedItems:
newSelectedItems.add(dataCommunicator.getItem(i));