Environment:
- Java: JetBrains s.r.o. 17.0.10
- OS: Mac OS X aarch64
- IDE: IntelliJ IDEA 2024.1
- SonarLint: 10.4.2.78113
c.ij.oa.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[sonarlint-vfs-events-notifier,6,main] 575185469 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 256574525
at c.ij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)
at c.ij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:131)
at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:908)
at c.ij.psi.impl.source.tree.TreeElement.assertReadAccessAllowed(TreeElement.java:421)
at c.ij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:234)
at c.ij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:217)
at c.ij.psi.impl.source.tree.CompositeElement.getChars(CompositeElement.java:229)
at c.ij.lang.javascript.frameworks.modules.JSRequireFrameworkIndexHandler.shouldCreateStubForCallExpression(JSRequireFrameworkIndexHandler.java:25)
at c.ij.lang.javascript.frameworks.modules.JSRequireFrameworkIndexHandler.checkRequireCall(JSRequireFrameworkIndexHandler.java:38)
at c.ij.lang.javascript.frameworks.modules.JSRequireFrameworkIndexHandler.shouldCreateStubForLiteral(JSRequireFrameworkIndexHandler.java:30)
at c.ij.lang.javascript.types.JSLiteralExpressionElementType.shouldCreateStub(JSLiteralExpressionElementType.java:62)