vaadin / vaadin/framework

"An already registered connector was registered again" spam as of 7.6.13

Open
#10,560 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale v7
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.