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] Uncaught Exception java.lang.Throwable: com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager$Holder <clinit> requests com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead. #8494

Closed
shalabi opened this issue Jul 27, 2024 · 1 comment

Comments

@shalabi
Copy link

shalabi commented Jul 27, 2024

IntelliJ build version: 2024.2 Beta IU-242.20224.91
OS: Mac OS X
JDK: JetBrains s.r.o. 21.0.3
Plugin version: 3.90.0-2024.2
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1613x1033,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=null, throwable=java.lang.Throwable: com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager$Holder <clinit> requests com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
	at com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager$Provider.getTaskManager(IntellijAzureTaskManager.java:142)
	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager$Holder.loadTaskManager(AzureTaskManager.java:39)
	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager$Holder.<clinit
@wangmingliang-ms
Copy link
Collaborator

Duplicate of #8473

@wangmingliang-ms wangmingliang-ms marked this as a duplicate of #8473 Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants