Filtered Grid throw IllegalArgumentException

Hy everybody
I have a serious problem with a filtered beanitemcontainer grid.

This is how I tested: Vaadin 7.7.0 / SpringBoot v1.4.0 Application

  1. user "
    " load a filtered beanitemcontainer grid (PersonTable: id, name MySql-DB )
    Filter assumption: “s” → All person with a “s” in the name

  2. user "
    " load the same filtered beanitemcontainer grid but with another filter
    Filter assumption: “e” → All person with a “e” in the name

We have now two user in the same Web-Application with different filtered beanitemcontainer person grids.

  1. Now if user "
    " select a row
    → java.lang.IllegalArgumentException: Given item id (16) does not exist in the container
    at com.vaadin.ui.Grid$AbstractSelectionModel.checkItemIdExists( ~[vaadin-server-7.7.0.jar:7.7.0]

    at com.vaadin.ui.Grid$ ~[vaadin-server-7.7.0.jar:7.7.0]

    at com.vaadin.ui.Grid$SingleSelectionModel$ ~[vaadin-server-7.7.0.jar:7.7.0]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72]

This is really strange, it seems the beanItemContainer is the same for both user?

Code snippets:

  private TextField filterText = new TextField();
  private HashMap<Object, Object> sqlFilter = new HashMap<Object, Object>();
  public BeanItemContainer<Person> beanItemContainer = new BeanItemContainer<>(Person.class)
  // Filter and load
  filterText.addTextChangeListener(e -> {
    sqlFilter.put("name", e.getText());
  public BeanItemContainer<Person> getPersonList(HashMap<Object, Object> sqlFilter) {
    personBeanItemContainer.addAll(personDAO.list(sqlFilter));    //Get all filtered Person; Table person fields id, name MySQL-DB
    return personBeanItemContainer;
  grid.addSelectionListener(event -> {
    BeanItem<Person> item = (BeanItem<Person>) grid.getContainerDataSource().getItem(grid.getSelectedRow());