microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception com.microsoft.azure.toolkit.lib.common.operation.OperationException: click node (AbstractAzResource(name=spring-app-gl-lms-hr, resourceGroupName=LMS-TMF, status=Updating))
Open
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.5 IC-233.14808.21
OS: Windows 10
JDK: JetBrains s.r.o. 17.0.10
Plugin version: 3.86.1-2023.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,7,7,1281x681,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=com.microsoft.azure.toolkit.lib.common.operation.OperationException: click node (AbstractAzResource(name=spring-app-gl-lms-hr, resourceGroupName=LMS-TMF, status=Updating))
at com.microsoft.azure.toolkit.lib.common.operation.AzureOperationAspect.afterThrowing(AzureOperationAspect.java:93)
at com.microsoft.azure.toolkit.lib.common.operation.AzureOperationAspect.afterThrowing(AzureOperationAspect.java:43)
at com.microsoft.azure.toolkit.intellij.common.component.TreeUtils$3.clickNode(TreeUtils.java:164)
at com.microsoft.azure.toolkit.intellij.common.component.TreeUtils$3.mouseClicked(TreeUtils.java:132)
Caused by: com.intellij.openapi.progress.CeProcessCanceledException: kotlinx.coroutines.JobCancellationException: BlockingCoroutine was cancelled; jo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with TreeUtils.java at the reported mouseClicked and clickNode frames, then inspect AzureOperationAspect.java around the afterThrowing frames. Reproduce the node click while the Azure resource is Updating and determine how the cancellation is expected to be handled; done means the interaction no longer surfaces an uncaught exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, java
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100