java.lang.AssertionError: Already disposed

GitHub | jansorg | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.AssertionError

    Already disposed

    at com.intellij.openapi.components.impl.ComponentManagerImpl.getPicoContainer()
  2. IDEA
    DataManagerImpl$MyDataContext.getData
    1. com.intellij.openapi.components.impl.ComponentManagerImpl.getPicoContainer(ComponentManagerImpl.java:281)
    2. com.intellij.openapi.components.impl.ComponentManagerImpl.getPicoContainer(ComponentManagerImpl.java:53)
    3. com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:40)
    4. com.intellij.openapi.roots.ProjectFileIndex$SERVICE.getInstance(ProjectFileIndex.java:38)
    5. com.intellij.openapi.module.ModuleUtilCore.findModuleForFile(ModuleUtilCore.java:77)
    6. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.getData(PsiAwareTextEditorImpl.java:85)
    7. com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:76)
    8. com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:64)
    9. com.intellij.ide.impl.DataManagerImpl.access$300(DataManagerImpl.java:50)
    10. com.intellij.ide.impl.DataManagerImpl$MyDataContext.a(DataManagerImpl.java:366)
    11. com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:343)
    11 frames
  3. com.ansorgit.plugins
    NewBashFileAction.update
    1. com.ansorgit.plugins.bash.actions.NewBashActionBase.update(NewBashActionBase.java:74)
    2. com.ansorgit.plugins.bash.actions.NewBashFileAction.update(NewBashFileAction.java:35)
    2 frames
  4. IDEA
    ActionMenuItem$ActionTransmitter.actionPerformed
    1. com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:113)
    2. com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
    3. com.intellij.openapi.actionSystem.impl.Utils.updateGroupChild(Utils.java:265)
    4. com.intellij.ide.actions.WeighingActionGroup.getChildren(WeighingActionGroup.java:74)
    5. com.intellij.openapi.actionSystem.ActionGroupUtil.isGroupEmpty(ActionGroupUtil.java:45)
    6. com.intellij.openapi.actionSystem.ActionGroupUtil.isGroupEmpty(ActionGroupUtil.java:39)
    7. com.intellij.ide.actions.NewElementAction.update(NewElementAction.java:98)
    8. com.intellij.openapi.actionSystem.AnAction.beforeActionPerformedUpdate(AnAction.java:244)
    9. com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:110)
    10. com.intellij.openapi.actionSystem.ex.ActionUtil.lastUpdateAndCheckDumb(ActionUtil.java:137)
    11. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:244)
    12. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:926)
    13. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:236)
    13 frames
  5. Java RT
    AbstractButton.fireActionPerformed
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
    1 frame
  6. IDEA
    ActionMenuItem.fireActionPerformed
    1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:105)
    1 frame
  7. Java RT
    EventQueue.dispatchEvent
    1. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
    2. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    3. javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
    4. javax.swing.AbstractButton.doClick(AbstractButton.java:389)
    5. com.apple.laf.ScreenMenuItemCheckbox.itemStateChanged(ScreenMenuItemCheckbox.java:178)
    6. java.awt.CheckboxMenuItem.processItemEvent(CheckboxMenuItem.java:372)
    7. java.awt.CheckboxMenuItem.processEvent(CheckboxMenuItem.java:340)
    8. java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:343)
    9. java.awt.MenuComponent.dispatchEvent(MenuComponent.java:331)
    10. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)
    11. java.awt.EventQueue.access$400(EventQueue.java:82)
    12. java.awt.EventQueue$2.run(EventQueue.java:676)
    13. java.awt.EventQueue$2.run(EventQueue.java:674)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    16. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
    17. java.awt.EventQueue$3.run(EventQueue.java:690)
    18. java.awt.EventQueue$3.run(EventQueue.java:688)
    19. java.security.AccessController.doPrivileged(Native Method)
    20. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    21. java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
    21 frames
  8. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
    3 frames
  9. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    6 frames