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.messager.AzureMessager$Holder <clinit> requests com.microsoft.azure.toolkit.lib.common.messager.IAzureMessager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead. #8981

Closed
mahmood-alashqar opened this issue Aug 20, 2024 · 1 comment

Comments

@mahmood-alashqar
Copy link

IntelliJ build version: 2024.2.0.1 IU-242.20224.387
OS: Windows 11
JDK: JetBrains s.r.o. 21.0.3
Plugin version: 3.91.0-2024.2
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,7,0,1522x809,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.messager.AzureMessager$Holder <clinit> requests com.microsoft.azure.toolkit.lib.common.messager.IAzureMessager 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.messager.IntellijAzureMessager$Provider.getMessager(IntellijAzureMessager.java:172)
	at com.microsoft.azure.toolkit.lib.common.messager.AzureMessager$Holder.loadMessager(AzureMessager.java:30)
	at com.microsoft.azure.toolkit.lib.common.messager.AzureMessager$Holder.<clinit
@Flanker32
Copy link
Member

Duplicate of #8473

@Flanker32 Flanker32 marked this as a duplicate of #8473 Sep 3, 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