Table: addItem with lazyLoading and sizeFull issue

When i add Item to table at index larger than page length calculated based on table height, lazy loading work and cause an ArrayIndexOutOfBoundsException ,i tried to disable lazy loading but i need table to be size full.

This is a part of stack trace:


java.lang.ArrayIndexOutOfBoundsException: 15
	at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:1824)
	at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1477)
	at com.vaadin.ui.Table.enableContentRefreshing(Table.java:2645)
	at com.vaadin.ui.Table.changeVariables(Table.java:2491)
	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java:1451)
	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1399)
	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1318)

Table proberties:


                this.setSizeFull();
		this.setPageLength(0);
		this.setFooterVisible(false);
		this.setSortDisabled(true);
		this.setSelectable(true);
		this.setMultiSelect(true);
		this.setColumnReorderingAllowed(false);
		this.setColumnCollapsingAllowed(true);
		this.setDragMode(TableDragMode.MULTIROW);
		this.setNullSelectionAllowed(false);
		this.setImmediate(true);

I add an empty item ,then i fill it with data:


                Object item = indexedContainer.addItem();
		updateItem(itemManager, item, false);

Thanks -_-

This issue is extremely sensitive for our “enterprise” product, we use table component extensively so this issue is considered as a
big bug
.

If there is more declaration required,ask me that.

Please, i hope more interactions at an appropriate time later.

Thanks :smiley: