Hi,
I recompiled the code in Vaadin 17 and tried to run my sample code. Got the same error. So, I did some debugging and the error is coming from the method fetchFromProvider in DataCommunicator where it is doing a division operation with pageSize whose value is 0. So, some logic flow change of Vaadin 17 is executing that part of the code before pageSize is not yet set. So, the issue can be resolved by setting a default pageSize in the constructor of MultiselectComboBoxDataCommunicator class.
We run into the same issue and we can confirm that the issue is fixed with Vaadin 17.0.7 (which uses vaadin-flow 4.0.3), so no need for a workaround anymore.