java.lang.IllegalStateException: Event outside of a command

YouTrack | 1 year ago
  1. 0

    Optimize imports action on a language actually breaks imports

    YouTrack | 1 year ago
    java.lang.IllegalStateException: Event outside of a command
  2. 0

    IllegalStateException during reload model from disk

    YouTrack | 6 years ago
    java.lang.IllegalStateException: Event outside of a command
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Got exception on model rename

    YouTrack | 6 years ago
    java.lang.IllegalStateException: Event outside of a command
  5. 0

    [build:MPS-25.9237] java.lang.IllegalStateException : Event outside of a command

    YouTrack | 4 years ago
    java.lang.IllegalStateException: Event outside of a command

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Event outside of a command

      at jetbrains.mps.smodel.ModelsEventsCollector$SModelDelegateListener.listenerInvoked()
    2. JetBrains mps
      WorkbenchModelAccess$3.run
      1. jetbrains.mps.smodel.ModelsEventsCollector$SModelDelegateListener.listenerInvoked(ModelsEventsCollector.java:254)
      2. jetbrains.mps.smodel.ModelsEventsCollector$SModelDelegateListener.importRemoved(ModelsEventsCollector.java:154)
      3. jetbrains.mps.smodel.SModel.fireImportRemovedEvent(SModel.java:429)
      4. jetbrains.mps.smodel.SModel.deleteModelImport(SModel.java:727)
      5. jetbrains.mps.extapi.model.SModelDescriptorStub.deleteModelImport(SModelDescriptorStub.java:305)
      6. jetbrains.mps.project.OptimizeImportsHelper.removeFromImports(OptimizeImportsHelper.java:379)
      7. jetbrains.mps.project.OptimizeImportsHelper.optimizeModelImports_internal(OptimizeImportsHelper.java:269)
      8. jetbrains.mps.project.OptimizeImportsHelper.optimizeModelsImports_internal(OptimizeImportsHelper.java:214)
      9. jetbrains.mps.project.OptimizeImportsHelper.optimizeLanguageImports_internal(OptimizeImportsHelper.java:177)
      10. jetbrains.mps.project.OptimizeImportsHelper.optimizeLanguageImports(OptimizeImportsHelper.java:100)
      11. jetbrains.mps.ide.actions.OptimizeModuleImports_Action$1$2.run(OptimizeModuleImports_Action.java:92)
      12. jetbrains.mps.smodel.WriteActionDispatcher.run(WriteActionDispatcher.java:39)
      13. jetbrains.mps.smodel.WorkbenchModelAccess$3.run(WorkbenchModelAccess.java:136)
      13 frames
    3. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:855)
      1 frame
    4. JetBrains mps
      OptimizeModuleImports_Action$1.run
      1. jetbrains.mps.smodel.WorkbenchModelAccess.runWriteAction(WorkbenchModelAccess.java:150)
      2. jetbrains.mps.smodel.ModelAccessBase.runWriteAction(ModelAccessBase.java:63)
      3. jetbrains.mps.ide.actions.OptimizeModuleImports_Action$1.run(OptimizeModuleImports_Action.java:87)
      3 frames
    5. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$9.run(CoreProgressManager.java:384)
      3. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      5. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      6. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      7. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      8. com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:555)
      9. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      9 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames