AlreadyDisposedException in plugin version 0.7.13
-
I'm submitting a ...
- [x] bug report
- [ ] feature request
- [ ] puppy => You're not submitting a puppy. I already have one and he's adorable
-
What is the current behavior?
I run Intellij Ultimate with the Plugin (latest version). Most of the time this plugin works without any errors. But from time to time this Exception is thrown. I cannot 100% reproduce it but it happens at least once a day. It happens having multiple different projects open in parallel in different windows.
Cannot say more right now on how to reproduce. At one point in time during work with Intellij this "just happens".
- Is this a bug? Sorry about that. If so give me explicit details how to reproduce:
- Open IntelliJ
- Open multiple projects in different windows
- ~~Profit~~ Popup with "Intellij Internal Errors" occures at some point, no clear reason why now. It might work 30min or an hour without happening - the Exceptons shows up with "already disposed"
com.intellij.serviceContainer.AlreadyDisposedException: Already disposed: Project(name=omega.tools, containerState=DISPOSE_COMPLETED, componentStore=/<some-directory>/omega.tools) (disposed)
at com.intellij.serviceContainer.ComponentManagerImpl.checkState(ComponentManagerImpl.kt:201)
at com.intellij.serviceContainer.ComponentManagerImpl.getComponent(ComponentManagerImpl.kt:593)
at com.intellij.openapi.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:26)
at com.intellij.dvcs.DvcsUtil.getSelectedFile(DvcsUtil.java:116)
at git4idea.branch.GitBranchUtil.getCurrentRepository(GitBranchUtil.java:225)
at gitflow.actions.RepoActions.lambda$updateFavoriteIcon$0(RepoActions.java:105)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:956)
at com.intellij.openapi.progress.util.ProgressWindow.lambda$startBlocking$4(ProgressWindow.java:215)
at com.intellij.openapi.application.impl.ApplicationImpl.runUnlockingIntendedWrite(ApplicationImpl.java:864)
at com.intellij.openapi.progress.util.ProgressWindow.lambda$startBlocking$5(ProgressWindow.java:210)
at com.intellij.openapi.progress.util.ProgressWindow.executeInModalContext(ProgressWindow.java:191)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:208)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$execFromEDT$6(ProgressRunner.java:329)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:757)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735)
at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2182)
at com.intellij.openapi.progress.impl.ProgressRunner.execFromEDT(ProgressRunner.java:326)
at com.intellij.openapi.progress.impl.ProgressRunner.submit(ProgressRunner.java:267)
at com.intellij.openapi.progress.impl.ProgressRunner.submitAndGet(ProgressRunner.java:193)
at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:420)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:524)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:367)
at com.intellij.configurationStore.SaveAndSyncHandlerImpl.saveSettingsUnderModalProgress(SaveAndSyncHandlerImpl.kt:226)
at com.intellij.openapi.wm.impl.CloseProjectWindowHelper.closeProjectAndShowWelcomeFrameIfNoProjectOpened(CloseProjectWindowHelper.kt:59)
at com.intellij.openapi.wm.impl.CloseProjectWindowHelper.windowClosing(CloseProjectWindowHelper.kt:41)
at com.intellij.openapi.wm.impl.ProjectFrameHelper$setupCloseAction$1.windowClosing(ProjectFrameHelper.kt:233)
at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
at java.desktop/java.awt.Window.processWindowEvent(Window.java:2107)
at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
at java.desktop/java.awt.Window.processEvent(Window.java:2066)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2802)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:754)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:751)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
- What is the expected behavior?
No Exception occurs.
- What is the motivation / use case for changing the behavior?
Fixing a bug, Intellij should not popup error messages
-
Please tell me about your environment:
-
Gitflow4idea version: 0.7.13
-
Gitflow version: 1.12.3 (AVH Edition)
-
IntelliJ Help -> about > click copy icon and paste here. Should look like this:
-
IntelliJ IDEA 2022.3.3 (Ultimate Edition)
Build #IU-223.8836.41, built on March 10, 2023
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.1.0-12-amd64
GC: G1 Young Generation, G1 Old Generation
Memory: 4092M
Cores: 8
Non-Bundled Plugins:
com.jetbrains.plugins.ini4idea (223.8836.46)
manjaro.mpb (1.8)
com.fwdekker.randomness (2.7.7)
net.sjrx.intellij.plugins.systemdunitfiles (223.230322.126)
com.mnr.java.intellij.idea.plugin.base64helper (2.0.3)
Gradle View (4.0.0)
com.intellij.apacheConfig (223.8836.46)
com.perl5 (2022.3.3)
com.intellij.plugins.watcher (223.7571.113)
org.jetbrains.plugins.go-template (223.7571.203)
com.intellij.ideolog (222.1.0.0)
org.jetbrains.plugins.vagrant (223.7571.113)
com.crunch42.openapi (1.52)
name.kropp.intellij.makefile (223.8214.6)
com.wix.scss.lint (2.1.1)
org.jetbrains.plugins.go (223.8836.7)
org.jetbrains.plugins.ruby (223.8836.39)
YAML/Ansible support (0.11.2)
org.intellij.RegexpTester (2.2.0)
com.intellij.kubernetes (223.8617.8)
org.tinygroup.studio.service (20170621.2.0)
VisualVMLauncher (1.22.223)
IntelliTail (3.1.3)
String Manipulation (9.11.3)
com.perl5.lang.embedded (2022.3.3)
com.perl5.lang.tt2 (2022.3.3)
com.perl5.lang.mojo (2022.3.3)
org.jetbrains.kotlin (223-1.9.10-release-459-IJ8836.35)
PlantUML integration (6.4.0-IJ2022.2)
com.jetbrains.plugins.jade (223.7571.117)
org.jetbrains.plugins.vue (223.8836.52)
Gitflow-Fix (0.7.13)
cucumber-javascript (223.7571.113)
com.dmarcotte.handlebars (223.7571.117)
com.jetbrains.lang.ejs (223.7571.117)
MavenRunHelper (4.25.1-IJ2022.2)
Pythonid (223.8836.41)
izhangzhihao.rainbow.brackets (2023.3.4)
io.snyk.snyk-intellij-plugin (2.4.64)
com.mallowigi (85.1.0)
org.sonarlint.idea (9.0.0.75308)
org.exbin.deltahex.intellij (0.2.8.1)
net.ashald.envfile (3.4.1)
com.pixelperfect.gitlab-ci (2023.8.1)
Kotlin: 223-1.9.10-release-459-IJ8836.35
Current Desktop: XFCE