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
jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions	at jetbrains.mps.smodel.ModelAccess.assertLegalRead(ModelAccess.java:145)	at jetbrains.mps.smodel.MPSModuleRepository.getModule(MPSModuleRepository.java:216)	at jetbrains.mps.smodel.ModuleRepositoryFacade.getModule(ModuleRepositoryFacade.java:72)	at jetbrains.mps.smodel.SModel.updateRefs(SModel.java:1066)	at jetbrains.mps.smodel.SModel.updateModuleReferences(SModel.java:1035)	at jetbrains.mps.smodel.DefaultSModelDescriptor.loadSModel(DefaultSModelDescriptor.java:89)	at jetbrains.mps.smodel.LazyEditableSModelBase$1.doLoad(LazyEditableSModelBase.java:42)	at jetbrains.mps.smodel.loading.UpdateableModel$1$1.compute(UpdateableModel.java:79)	at jetbrains.mps.smodel.loading.UpdateableModel$1$1.compute(UpdateableModel.java:76)	at jetbrains.mps.ide.undo.WorkbenchUndoHandler.runNonUndoableAction(WorkbenchUndoHandler.java:46)	at jetbrains.mps.smodel.UndoHelper.runNonUndoableAction(UndoHelper.java:61)	at jetbrains.mps.smodel.loading.UpdateableModel$1.compute(UpdateableModel.java:76)	at jetbrains.mps.smodel.loading.UpdateableModel$1.compute(UpdateableModel.java:73)	at jetbrains.mps.smodel.NodeReadAccessCasterInEditor.runReadTransparentAction(NodeReadAccessCasterInEditor.java:100)	at jetbrains.mps.smodel.loading.UpdateableModel.ensureLoadedTo(UpdateableModel.java:73)	at jetbrains.mps.smodel.loading.UpdateableModel.getModel(UpdateableModel.java:60)	at jetbrains.mps.smodel.LazyEditableSModelBase.load(LazyEditableSModelBase.java:87)	at jetbrains.mps.persistence.PersistenceUtil.loadModel(PersistenceUtil.java:64)	at jetbrains.mps.vcs.changesmanager.BaseVersionUtil.getBaseVersionModel(BaseVersionUtil.java:98)	at jetbrains.mps.vcs.changesmanager.ChangesTracking.update(ChangesTracking.java:168)	at jetbrains.mps.vcs.changesmanager.ChangesTracking.access$100(ChangesTracking.java:76)	at jetbrains.mps.vcs.changesmanager.ChangesTracking$2.run(ChangesTracking.java:138)	at jetbrains.mps.vcs.changesmanager.SimpleCommandQueue$MyExecutorThread.run(SimpleCommandQueue.java:76)