Clean connector map unregistered connector

Hey there!

I’m created the Grid component that, when i’m load some items width beanitemcontainer into, it can recognize the data and make automatically a header row width filter fields. Tipicly TextFields and ComboBoxes. But when navigate an other view widh spring navigator the log filled up width this warn messages:

2017-01-30 15:12:19.626 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3093) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.
2017-01-30 15:12:19.628 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3099) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.
2017-01-30 15:12:19.629 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3098) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.
2017-01-30 15:12:19.631 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3094) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.
2017-01-30 15:12:19.632 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3101) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.
2017-01-30 15:12:19.634 WARN 19060 --- [http-nio-5085-exec-1]
 com.vaadin.ui.ConnectorTracker : cleanConnectorMap unregistered connector com.vaadin.ui.TextField(3108) (parent: com.vaadin.ui.Grid(2852)). This should have been done when the connector was detached.

Tipicly i’m use to 3-5 grid at one view and many of columns, so generating a lot of warn message at the log. Otherwise i’m think there is some bug with my code (lucily still not have any of errors around the grids or the filters). Can somebody suggest any info for where can i’m find the bug, or what is this exactly?

Did you find a solution? i have a simular issue with the FilteringTable and Icons int it after changing the view…

In my case I encountered such warnings having called components.clear() in a subclass of VerticalLayout, and then navigating away from that particular view.

Calling removeAllComponents() instead got me rid of the warnings.