Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

BeanItemContainer & Grid selection, how to use GetItem() with only Object

Alisa Lee
6 years ago Jun 06, 2016 9:31pm
Tom Rauchenwald
6 years ago Jun 07, 2016 7:43am

Just a guess, but it could be that the selection model still has references to the previously selected beans.
When you do beanHolder.removeAllItems(); could you try to do a 


This should re-initialize the selection model, if it works then that's the issue. 

Alisa Lee
6 years ago Jun 07, 2016 2:25pm