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

GitHub | slisson | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IllegalModelAccessError in ProjectViewManager.install

    GitHub | 6 months ago | slisson
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions
  2. 0

    Read Action Required

    GitHub | 7 months ago | bkolb
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions
  3. 0

    IllegalModelAccessError in contextactions

    GitHub | 4 months ago | danielratiu
    jetbrains.mps.smodel.IllegalModelAccessError: You can read model only inside read actions
  4. Speed up your debug routine!

    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
      MPSModuleRepository.getModules
      1. jetbrains.mps.smodel.WorkbenchModelAccess.checkReadAccess(WorkbenchModelAccess.java:473)
      2. jetbrains.mps.smodel.ModelAccessBase.checkReadAccess(ModelAccessBase.java:38)
      3. jetbrains.mps.smodel.MPSModuleRepository.getModules(MPSModuleRepository.java:267)
      3 frames
    3. com.mbeddr.mpsutil
      ProjectViewApplicationPlugin_CustomApplicationPlugin.doInit
      1. com.mbeddr.mpsutil.projectview.runtime.ProjectViewManager.install(ProjectViewManager.java:125)
      2. com.mbeddr.mpsutil.projectview.runtime.plugin.ProjectViewApplicationPlugin_CustomApplicationPlugin.doInit(ProjectViewApplicationPlugin_CustomApplicationPlugin.java:12)
      2 frames
    4. jetbrains.mps.plugins
      BaseCustomApplicationPlugin.init
      1. jetbrains.mps.plugins.custom.BaseCustomApplicationPlugin.init(BaseCustomApplicationPlugin.java:26)
      1 frame
    5. com.mbeddr.mpsutil
      Runtime_ApplicationPlugin.initCustomParts
      1. com.mbeddr.mpsutil.projectview.runtime.plugin.Runtime_ApplicationPlugin.initCustomParts(Runtime_ApplicationPlugin.java:24)
      1 frame
    6. JetBrains mps
      PluginLoaderRegistry$UpdatingTask.lambda$run$0
      1. jetbrains.mps.plugins.applicationplugins.BaseApplicationPlugin.createCustomParts(BaseApplicationPlugin.java:131)
      2. jetbrains.mps.plugins.applicationplugins.ApplicationPluginManager.createCustomParts(ApplicationPluginManager.java:112)
      3. jetbrains.mps.plugins.applicationplugins.ApplicationPluginManager.afterPluginsCreated(ApplicationPluginManager.java:74)
      4. jetbrains.mps.plugins.BasePluginManager.loadPlugins(BasePluginManager.java:88)
      5. jetbrains.mps.plugins.PluginLoaderRegistry.loadContributors(PluginLoaderRegistry.java:147)
      6. jetbrains.mps.plugins.PluginLoaderRegistry.access$700(PluginLoaderRegistry.java:71)
      7. jetbrains.mps.plugins.PluginLoaderRegistry$UpdatingTask.addContributors(PluginLoaderRegistry.java:329)
      8. jetbrains.mps.plugins.PluginLoaderRegistry$UpdatingTask.lambda$run$0(PluginLoaderRegistry.java:316)
      8 frames