vaadin flow 12 Tabs.removeAll() throws ArrayIndexOutOfBoundException

vaadin flow 12 Tabs.removeAll() throws ArrayIndexOutOfBoundException. While Tabs contains Tab the vaadin’s removeAll() method contains a setSelectedIndex(-1) that create the issue.

It’s a vaadin bug?

Sounds like it. Can you create a ticket here: https://github.com/vaadin/vaadin-tabs-flow/issues with a small code snippet that demonstrates the issue?

-Olli