microsoft / microsoft/azure-tools-for-java

[IntelliJ][ReportedByUser] Uncaught Exception Cannot compute digest for RC using state after load com.intellij.util.xmlb.XmlSerializationException: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: the signed-in account has no access to subscription (null)

Open
#8,136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

IntelliJ build version: 2023.3.3 IC-233.14015.106
OS: Windows 10
JDK: JetBrains s.r.o. 17.0.9
Plugin version: 3.85.0-2023.3
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,8,8,1920x1040,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=Cannot compute digest for RC using state after load, throwable=com.intellij.util.xmlb.XmlSerializationException: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: the signed-in account has no access to subscription (null)
	at com.intellij.util.xmlb.XmlSerializer.serializeInto(XmlSerializer.java:106)
	at com.microsoft.azure.toolkit.intellij.legacy.common.AzureRunConfigurationBase.writeExternal(AzureRunConfigurationBase.java:68)
Caused by: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: the signed-in account has no access to subscription (null)
	at com.microsoft.azure.toolkit.lib.common.model.AbstractAzService.doGetById(AbstractAzService.java:114)
	at

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AzureRunConfigurationBase.writeExternal and the failing call in AbstractAzService.doGetById, using the reported IntelliJ, plugin, OS, and JDK versions as reproduction context. Determine the behavior when the signed-in account lacks access to the subscription; done means the reported uncaught exception no longer occurs in that scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.