"An already registered connector was registered again" spam as of 7.6.13
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Vaadin spams a lot of logs messages regarding Connector registration as of version 7.6.13
...
2018.01.23 15:58:10 WARNING [com.vaadin.ui.ConnectorTracker] (default
task-33) An already registered connector was registered again: Label (3794)
2018.01.23 15:58:10 WARNING [com.vaadin.ui.ConnectorTracker] (default
task-33) An already registered connector was registered again: Label (3795)
...
This repeats for all Components on current View.
There are only Components affected lazily created inside a TabSheet:
VerticalLayout layout = new VerticalLayout();
TabSheet tabSheet = new TabSheet();
tabSheet.addTab(layout);
tabSheet.addSelectedTabChangeListener(evt -> {
layout.addComponent(new Label("This will raise a warning log message"));
});
7.6.12 is not affected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning with the provided TabSheet and lazily created Label example, comparing Vaadin 7.6.12 with 7.6.13. Start at com.vaadin.ui.ConnectorTracker and the TabSheet behavior; done means the repeated registration warnings no longer appear for components added to the selected tab.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100