ArrayIndexOutOfBoundsException in Table Component [Vaadin 7.7.10]

Our Customer has a Problem when using a Table with a containerfilter on an IPAD (chromebrowser. Vaadin 7.7.10)

I am not able to reproduce the bug. it seems that its crashing inside the Table Component. The Bug has been already reported here:

https://github.com/vaadin/framework/issues/9195

java.lang.ArrayIndexOutOfBoundsException: 12
at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2354)
at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2232)
at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1747)
at com.vaadin.ui.Table.enableContentRefreshing(Table.java:3277)
at com.vaadin.ui.Table.changeVariables(Table.java:3119)
at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:616)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:463)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:406)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)

Is there any hope this will get fixed in future. Is there an Option to priotorize this issue?

Hi,

I wouldn’t hold my breath. Table develompent hasn’t been a priority in some years now, as Grid has become more mature. That being said, it could be an easy fix, so I wouldn’t completely rule the possibility out (there was one Table fix included in 7.7.11), BUT the very minimum requirement for a fix to happen is in practice a reproducable example.

Best regards,

Olli

The ArrayIndexOutOfBoundsException happens here:

                    if (index < firstIndexNotInCache
                            && index >= pageBufferFirstIndex
                            && pageBuffer[CELL_GENERATED_ROW]
[indexInOldBuffer]
 == null
                            && id.equals(
                                    pageBuffer[CELL_ITEMID]
[indexInOldBuffer]
)) {