microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception Cannot process toolwindow Resource Connections com.intellij.serviceContainer.AlreadyDisposedException: Cannot create com.microsoft.azure.toolkit.intellij.connector.ConnectionManager because container is already disposed (container=Project(name=Java-Bootcamp-Resources, containerState=DISPOSE_COMPLETED, componentStore=/Users/walterflores/IdeaProjects/Java-Bootcamp-Resources) (disposed))
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: 2022.3.1 IU-223.8214.52
OS: Mac OS X
JDK: JetBrains s.r.o. 17.0.5
Plugin version: 3.71.0-2022.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1711x1000,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=com.intellij.ui.ToolbarUtil$3@60565325,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=Cannot process toolwindow Resource Connections, throwable=com.intellij.serviceContainer.AlreadyDisposedException: Cannot create com.microsoft.azure.toolkit.intellij.connector.ConnectionManager because container is already disposed (container=Project(name=Java-Bootcamp-Resources, containerState=DISPOSE_COMPLETED, componentStore=/Users/walterflores/IdeaProjects/Java-Bootcamp-Resources) (disposed))
at com.intellij.serviceContainer.ContainerUtilKt.throwAlreadyDisposedError(containerUtil.kt:40)
at com.microsoft.azure.toolkit.
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 by reproducing the Resource Connections toolwindow error with IntelliJ 2022.3.1, plugin 3.71.0-2022.3, and the listed Java and macOS environment. Trace the ConnectionManager creation during project disposal; done means the AlreadyDisposedException no longer occurs while processing the toolwindow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100