Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
java.lang.IllegalStateException: Event outside of a command	at jetbrains.mps.smodel.ModelsEventsCollector$SModelDelegateListener.listenerInvoked(ModelsEventsCollector.java:254)	at jetbrains.mps.smodel.ModelsEventsCollector$SModelDelegateListener.importRemoved(ModelsEventsCollector.java:154)	at jetbrains.mps.smodel.SModel.fireImportRemovedEvent(SModel.java:429)	at jetbrains.mps.smodel.SModel.deleteModelImport(SModel.java:727)	at jetbrains.mps.extapi.model.SModelDescriptorStub.deleteModelImport(SModelDescriptorStub.java:305)	at jetbrains.mps.project.OptimizeImportsHelper.removeFromImports(OptimizeImportsHelper.java:379)	at jetbrains.mps.project.OptimizeImportsHelper.optimizeModelImports_internal(OptimizeImportsHelper.java:269)	at jetbrains.mps.project.OptimizeImportsHelper.optimizeModelsImports_internal(OptimizeImportsHelper.java:214)	at jetbrains.mps.project.OptimizeImportsHelper.optimizeLanguageImports_internal(OptimizeImportsHelper.java:177)	at jetbrains.mps.project.OptimizeImportsHelper.optimizeLanguageImports(OptimizeImportsHelper.java:100)	at jetbrains.mps.ide.actions.OptimizeModuleImports_Action$1$2.run(OptimizeModuleImports_Action.java:92)	at jetbrains.mps.smodel.WriteActionDispatcher.run(WriteActionDispatcher.java:39)	at jetbrains.mps.smodel.WorkbenchModelAccess$3.run(WorkbenchModelAccess.java:136)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:855)	at jetbrains.mps.smodel.WorkbenchModelAccess.runWriteAction(WorkbenchModelAccess.java:150)	at jetbrains.mps.smodel.ModelAccessBase.runWriteAction(ModelAccessBase.java:63)	at jetbrains.mps.ide.actions.OptimizeModuleImports_Action$1.run(OptimizeModuleImports_Action.java:87)	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)	at com.intellij.openapi.progress.impl.CoreProgressManager$9.run(CoreProgressManager.java:384)	at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:555)	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)