Environment:
- Java: JetBrains s.r.o. 17.0.10
- OS: Windows 11 amd64
- IDE: JetBrains Rider 2024.1 EAP 7
- SonarLint: 10.3.0.77475
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] 1519898822 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1163002433
at c.ij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:156)
at c.ij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:107)
at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:912)
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.javascript.microservices.HttpClientIndexingHandler.functionIsCallingHttp(HttpClientIndexingHandler.kt:32)
at c.ij.javascript.microservices.HttpClientIndexingHandler.shouldCreateStubForCallExpression(HttpClientIndexingHandler.kt:35)
at c.ij.lang.javascript.psi.impl.JSCallExpressionImpl.shouldCreateStub(JSCallExpressionImpl.java:148)
at c.ij.lang.javascript.types.JSCallExpressionElementType.shouldCreateStub(JSCallExpressionElementType.java:43)
at c.ij.lang.javascript.psi.stubs.impl.JSStubIndexingUtils.isInStubTree(JSStubIndexingUtils.java:112)