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

[Intellij] UI Frozen when switching to Azure Explorer tool window #4172

Closed
wezhang opened this issue Mar 24, 2020 · 4 comments
Closed

[Intellij] UI Frozen when switching to Azure Explorer tool window #4172

wezhang opened this issue Mar 24, 2020 · 4 comments

Comments

@wezhang
Copy link
Member

wezhang commented Mar 24, 2020

Thread dump files attached:

threadDump-20200324-093123.txt
threadDump-20200324-093118.txt

Here is the root cause, AccessTokenAzureManager.getTenants blocking in Event Dispatch Thread:

	at rx.Observable.subscribe(Observable.java:10423)
	at rx.Observable.subscribe(Observable.java:10390)
	at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:443)
	at rx.observables.BlockingObservable.singleOrDefault(BlockingObservable.java:372)
	at com.microsoft.azuretools.sdkmanage.AccessTokenAzureManager.getTenants(AccessTokenAzureManager.java:182)
	at com.microsoft.azuretools.sdkmanage.AccessTokenAzureManager.getSubscriptionsWithTenant(AccessTokenAzureManager.java:145)
	at com.microsoft.azuretools.authmanage.SubscriptionManagerPersist.updateAccountSubscriptionList(SubscriptionManagerPersist.java:78)
	at com.microsoft.azuretools.authmanage.SubscriptionManager.updateSubscriptionDetailsIfNull(SubscriptionManager.java:91)
	at com.microsoft.azuretools.authmanage.SubscriptionManager.getSubscriptionDetails(SubscriptionManager.java:76)
	at com.microsoft.tooling.msservices.serviceexplorer.azure.AzureModule.composeName(AzureModule.java:114)
	at com.microsoft.tooling.msservices.serviceexplorer.azure.AzureModule.<init>(AzureModule.java:85)
	at com.microsoft.intellij.serviceexplorer.azure.AzureModuleImpl.<init>(AzureModuleImpl.java:29)
	at com.microsoft.intellij.components.ServerExplorerToolWindowFactory.createToolWindowContent(ServerExplorerToolWindowFactory.java:91)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.ensureContentInitialized(ToolWindowImpl.java:534)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.getContentManager(ToolWindowImpl.java:358)
	at com.intellij.ide.actions.ResizeToolWindowAction.<init>(ResizeToolWindowAction.java:45)
	at com.intellij.ide.actions.ResizeToolWindowAction$Left.<init>(ResizeToolWindowAction.java:197)
@andxu
Copy link
Contributor

andxu commented Mar 26, 2020

Thank @wezhang for the info, we will fix it

@andxu
Copy link
Contributor

andxu commented Jun 12, 2020

@wezhang I cannot reproduce this issue, please comment here if you still encounter this issue.

@andxu andxu added need more info and removed UX labels Jun 12, 2020
@wezhang
Copy link
Member Author

wezhang commented Jun 12, 2020

I can still repro it from rerun IntelliJ IDEA with signed in. Refer to the snapshot:

issue-4172

@vscjavaci
Copy link
Collaborator

vscjavaci commented Jul 13, 2020

Track internal issue by AB#1738831

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

4 participants