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
via GitHub by joswarmer
, 1 year ago
via GitHub by danielratiu
, 1 year ago
You can read model only inside read actions
via GitHub by slisson
, 1 year ago
You can read model only inside read actions
via GitHub by bkolb
, 1 year ago
You can read model only inside read actions
jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions	at jetbrains.mps.smodel.WorkbenchModelAccess.checkReadAccess(WorkbenchModelAccess.java:473)	at jetbrains.mps.smodel.ModelAccessBase.checkReadAccess(ModelAccessBase.java:38)	at jetbrains.mps.smodel.ConceptDescendantsCache.getDirectDescendants(ConceptDescendantsCache.java:178)	at jetbrains.mps.smodel.ConceptDescendantsCache.collectDescendants(ConceptDescendantsCache.java:187)	at jetbrains.mps.smodel.ConceptDescendantsCache.getDescendants(ConceptDescendantsCache.java:173)	at jetbrains.mps.findUsages.InstancesSearchType.search(InstancesSearchType.java:55)	at jetbrains.mps.findUsages.FindUsagesManager.findUsages(FindUsagesManager.java:63)	at jetbrains.mps.findUsages.FindUsagesManager.findInstances(FindUsagesManager.java:47)	at jetbrains.mps.ide.script.plugin.migrationtool.MigrationScriptFinder.find(MigrationScriptFinder.java:53)	at jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.FinderNode.doGetResults(FinderNode.java:64)	at jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.BaseNode.getResults(BaseNode.java:92)	at jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.UnionNode.doGetResults(UnionNode.java:31)	at jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.BaseNode.getResults(BaseNode.java:92)	at jetbrains.mps.ide.findusages.view.FindUtils.getSearchResults(FindUtils.java:76)	at jetbrains.mps.ide.script.plugin.migrationtool.MigrationScriptsTool$1$1.run(MigrationScriptsTool.java:60)	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)