esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
633 stars 113 forks source link

AlreadyDisposedException #320

Closed peterxiemin closed 3 years ago

peterxiemin commented 3 years ago

env os windows 11

image

exception stack:

com.intellij.serviceContainer.AlreadyDisposedException: Already disposed: Project(name=abc, containerState=DISPOSE_COMPLETED, componentStore=C:\Users\Administrator\vsproj\abc) (disposed) at com.intellij.serviceContainer.ComponentManagerImpl.checkState(ComponentManagerImpl.kt:187) at com.intellij.serviceContainer.ComponentManagerImpl.getComponent(ComponentManagerImpl.kt:537) at com.intellij.openapi.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:21) at org.plantuml.idea.preview.image.links.LinkNavigator.(LinkNavigator.java:42) at org.plantuml.idea.preview.image.ImageContainerSvg.initLinks(ImageContainerSvg.java:199) at org.plantuml.idea.preview.image.ImageContainerSvg.initEditor(ImageContainerSvg.java:178) at org.plantuml.idea.rendering.ImageItem.getEditor(ImageItem.java:213) at org.plantuml.idea.preview.image.ImageContainerSvg.setup(ImageContainerSvg.java:135) at org.plantuml.idea.preview.image.ImageContainerSvg.(ImageContainerSvg.java:87) at org.plantuml.idea.preview.PlantUmlPreviewPanel.createImageContainer(PlantUmlPreviewPanel.java:562) at org.plantuml.idea.preview.PlantUmlPreviewPanel.displayImage(PlantUmlPreviewPanel.java:547) at org.plantuml.idea.preview.PlantUmlPreviewPanel.displayImages(PlantUmlPreviewPanel.java:498) at org.plantuml.idea.preview.PlantUmlPreviewPanel.displayResult(PlantUmlPreviewPanel.java:373) at org.plantuml.idea.rendering.RenderCommand.lambda$displayResult$1(RenderCommand.java:185) at org.plantuml.idea.util.Utils.lambda$logDuration$0(Utils.java:124) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:755) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)