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] 746090188 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1979288915
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.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.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) ```
By chance, if you still have the full stack trace, could you share it with us? Same if it ever happens again, it would help us find the origin of this issue.
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)