MPSModuleRepository.getModules() has thrown an IllegalModelAccessError

jetbrains.mps.smodel.IllegalModelAccessError
at jetbrains.mps.smodel.WorkbenchModelAccess.checkReadAccess
at jetbrains.mps.smodel.ModelAccessBase.checkReadAccess
at jetbrains.mps.smodel.MPSModuleRepository.getModules

Typical Exception Messages

  1. You can read model only inside read actions

Origin

ModelAccessBase.checkReadAccess() has thrown an IllegalModelAccessError

jetbrains.mps.smodel.IllegalModelAccessError
1 frames hidden
jetbrains.mps.smodel.ModelAccessBase.checkReadAccess
5Web pages

External results for this pattern (3)

  1. danielratiuvia GitHub2 years ago
    You can read model only inside read actions
    Show stack trace
  2. slissonvia GitHub2 years ago
    You can read model only inside read actions
    Show stack trace
  3. bkolbvia GitHub2 years ago
    You can read model only inside read actions
    Show stack trace