Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element with id is already registered issues related to reloading the extension host #881

Open
alexweininger opened this issue Jun 27, 2024 · 1 comment

Comments

@alexweininger
Copy link
Member

alexweininger commented Jun 27, 2024

For me, it happens ~75% of the time when I follow these steps:

  1. Load the Azure views, resources and workspace views.
  2. Run the "Developer: Restart Extension Host" command.

A few things will happen. Sometimes both these errors occur, sometimes it's only one or the other. And sometimes the resources view doesn't show anything at all but there are no errors. A refresh seems to fix it every time.

ed by Microsoft

I noticed that his happens often when switching Profiles. Since profiles contain different extensions they reload the extension host. I think this is important to investigate because just restarting the extension host shouldn't be causing this.

@jdelombaert
Copy link

Same issue for me:
Element with id /subscriptions/***-***-***-***-*** is already registered.

Seems that my subscriptions under Azure: Select Subscriptions... are there more then once.
Anyway to re-initialize this list?
Has this bug already been looked into?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants