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. #8490

Closed
souluanf opened this issue Jul 25, 2024 · 1 comment

Comments

@souluanf
Copy link

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,1920x1080,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>
@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