jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions

YouTrack | 5 months ago
  1. 0

    [build:IC-162.SNAPSHOT] You can read model only inside read actions

    YouTrack | 5 months ago
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions
  2. 0

    [build:IC-999.SNAPSHOT] You can read model only inside read actions

    YouTrack | 2 years ago
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to create run configuration under Windows

    GitHub | 4 years ago | stephaneberle9
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions

    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. jetbrains.mps.smodel.IllegalModelAccessError

      You can read model only inside read actions

      at jetbrains.mps.smodel.WorkbenchModelAccess.checkReadAccess()
    2. JetBrains mps
      ConceptDescendantsCache.getDescendants
      1. jetbrains.mps.smodel.WorkbenchModelAccess.checkReadAccess(WorkbenchModelAccess.java:473)
      2. jetbrains.mps.smodel.ModelAccessBase.checkReadAccess(ModelAccessBase.java:38)
      3. jetbrains.mps.smodel.ConceptDescendantsCache.getDirectDescendants(ConceptDescendantsCache.java:178)
      4. jetbrains.mps.smodel.ConceptDescendantsCache.collectDescendants(ConceptDescendantsCache.java:187)
      5. jetbrains.mps.smodel.ConceptDescendantsCache.getDescendants(ConceptDescendantsCache.java:173)
      5 frames
    3. jetbrains.mps.findUsages
      FindUsagesManager.findInstances
      1. jetbrains.mps.findUsages.InstancesSearchType.search(InstancesSearchType.java:55)
      2. jetbrains.mps.findUsages.FindUsagesManager.findUsages(FindUsagesManager.java:63)
      3. jetbrains.mps.findUsages.FindUsagesManager.findInstances(FindUsagesManager.java:47)
      3 frames
    4. jetbrains.mps.ide
      MigrationScriptFinder.find
      1. jetbrains.mps.ide.script.plugin.migrationtool.MigrationScriptFinder.find(MigrationScriptFinder.java:53)
      1 frame
    5. JetBrains mps
      FindUtils.getSearchResults
      1. jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.FinderNode.doGetResults(FinderNode.java:64)
      2. jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.BaseNode.getResults(BaseNode.java:92)
      3. jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.UnionNode.doGetResults(UnionNode.java:31)
      4. jetbrains.mps.ide.findusages.findalgorithm.resultproviders.treenodes.BaseNode.getResults(BaseNode.java:92)
      5. jetbrains.mps.ide.findusages.view.FindUtils.getSearchResults(FindUtils.java:76)
      5 frames
    6. jetbrains.mps.ide
      MigrationScriptsTool$1$1.run
      1. jetbrains.mps.ide.script.plugin.migrationtool.MigrationScriptsTool$1$1.run(MigrationScriptsTool.java:60)
      1 frame
    7. 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
    8. 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