microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
239 stars 158 forks source link

[IntelliJ][ReportedByUser] Uncaught Exception java.lang.AssertionError #8081

Open dnanatihor opened 9 months ago

dnanatihor commented 9 months ago

IntelliJ build version: 2023.3.2 IC-233.13135.103 OS: Linux JDK: JetBrains s.r.o. 17.0.9 Plugin version: 3.83.0-2023.3 Additional Info: None Parent component:

javax.swing.JRootPane[,0,37,1080x900,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=]

Error message:


IdeaLoggingEvent[message=null, throwable=java.lang.AssertionError
    at com.microsoft.azure.toolkit.lib.cognitiveservices.AzureCognitiveServices.accounts(AzureCognitiveServices.java:44)
    at com.microsoft.azure.toolkit.lib.cognitiveservices.AzureCognitiveServices.isOpenAIEnabled_aroundBody0(AzureCognitiveServices.java:50)
    at com.microsoft.azure.toolkit.lib.cognitiveservices.AzureCognitiveServices$AjcClosure1.run(AzureCognitiveServices.java:1)
    at com.microsoft.azure.toolkit.lib.common.cache.CacheManager.lambda$readCache$0(CacheManager.java:129)
    at com.microsoft.azure.toolkit.lib.common.cache.CacheManager.readCache(CacheManager.java:126)
    at com.microsoft.azure.toolkit.lib.common.cache.CacheManager.ajc$inlineAccessMethod$com_microsoft_azure_toolkit_lib_common_cache_CacheManager$com_microsoft_azure_toolkit_lib_common_cache_CacheManager$readCache(CacheManager.java:1)
    at com.microsoft.azure.toolkit.lib.common.cache.CacheManager.aroundCacheable(CacheManager.java:77)
    at com.microsoft.azure.toolkit.lib.cognitiv
Flanker32 commented 8 months ago

@dnanatihor Thank you for reporting this issue and we apologize for the delay in responding to you. This issue seems to be caused by an authentication problem. Could you please try signing in again and check if the issue is resolved?

wangmingliang-ms commented 8 months ago

this issue was fixed in the latest v3.85.0.