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] 1863996491 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 281661018
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.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:146)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:87)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:245)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSet(WorkspaceFileIndexImpl.kt:201)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.isInContent(WorkspaceFileIndexImpl.kt:67)
at c.ij.oa.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:209)
at c.ij.psi.impl.cache.impl.todo.TodoIndexers.needsTodoIndex(TodoIndexers.java:42)
at c.ij.psi.impl.cache.impl.todo.TodoIndex$4.slowPathIfFileTypeHintUnsure(TodoIndex.java:135)
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] 1054177741 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 750682271
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.LazyParseableElement.ensureParsed(LazyParseableElement.java:175)
at c.ij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234)
at c.ij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:25)
at c.ij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:37)
at c.ij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:743)
at c.ij.lang.javascript.psi.impl.JSPsiImplUtils.findFirstStatement(JSPsiImplUtils.java:1399)
at c.ij.lang.javascript.psi.impl.JSPsiImplUtils.findFirstStatementOrDirective(JSPsiImplUtils.java:1394)
at c.ij.lang.javascript.index.JSFileCachedDataEvaluator.visitJSFile(JSFileCachedDataEvaluator.java:65)
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] 1237207680 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1560992065
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
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] 596172773 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 297235835
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.javascript.microservices.HttpClientIndexingHandler.functionIsCallingHttp(HttpClientIndexingHandler.kt:32)
at c.ij.javascript.microservices.HttpClientIndexingHandler.getMarkers(HttpClientIndexingHandler.kt:22)
at c.ij.lang.javascript.psi.stubs.impl.JSStubBase.getFrameworkMarkers(JSStubBase.java:113)
at c.ij.lang.javascript.psi.stubs.impl.JSStubBase.<init>(JSStubBase.java:49)
at c.ij.lang.javascript.psi.stubs.impl.JSPossiblyStoredStubImpl.<init>(JSPossiblyStoredStubImpl.java:36)
at c.ij.lang.javascript.psi.stubs.impl.JSPossiblyStoredStubImpl.<init>(JSPossiblyStoredStubImpl.java:31)
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] 884349895 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 50713017
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
com.intellij.openapi.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] 778923660 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1243275032
at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)
at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:131)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:908)
at com.intellij.psi.impl.source.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at com.intellij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at com.intellij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at com.intellij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at com.intellij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
at com.intellij.openapi.roots.TestSourcesFilter.isTestSources(TestSourcesFilter.java:31)
at org.sonarlint.intellij.fs.IdeaClientModuleFileEventBuilderKt.buildClientModuleFileEventToVirtual(IdeaClientModuleFileEventBuilder.kt:43)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.allEventsFor(DefaultVirtualFileSystemEventsHandler.kt:98)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.fileEventsByModules(DefaultVirtualFileSystemEventsHandler.kt:88)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.forwardEvents(DefaultVirtualFileSystemEventsHandler.kt:59)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.forwardEventsAsync$lambda$1(DefaultVirtualFileSystemEventsHandler.kt:49)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
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] 498939393 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 197029494
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
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] 2120019600 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 181840460
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:186)
at c.ij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:109)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:619)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getReferencedPaths(JSFileBaseImpl.java:213)
at c.ij.lang.javascript.psi.stubs.impl.JSFileStubImpl.<init>(JSFileStubImpl.java:29)
at c.ij.lang.javascript.psi.stubs.impl.JSFileStubBuilder.createStubForFile(JSFileStubBuilder.java:114)
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] 1810697637 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 135913253
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.getChildrenAsPsiElements(CompositeElement.java:385)
at c.ij.psi.impl.source.PsiFileImpl.getChildren(PsiFileImpl.java:738)
at c.ij.javascript.testFramework.util.JsPsiUtils.listStatementsInExecutionOrder(JsPsiUtils.java:142)
at c.ij.javascript.testFramework.jasmine.JasmineFileStructureBuilder$Builder.build(JasmineFileStructureBuilder.java:65)
at c.ij.javascript.testFramework.jasmine.JasmineFileStructureBuilder.buildTestFileStructure(JasmineFileStructureBuilder.java:49)
at c.ij.javascript.testFramework.jasmine.JasmineFileStructureBuilder.buildTestFileStructure(JasmineFileStructureBuilder.java:18)
at c.ij.javascript.testFramework.AbstractTestFileStructureBuilder.lambda$fetchCachedTestFileStructure$0(AbstractTestFileStructureBuilder.java:33)
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] 2120019600 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0 @coroutine#20154,6,main] 181840460
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
In IntelliJ 2024.1 a new possibly related exception is thrown
com.intellij.openapi.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] 260438041 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1137204208
at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)
at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:131)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:908)
at com.intellij.psi.impl.source.tree.TreeElement.assertReadAccessAllowed(TreeElement.java:421)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:175)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:234)
at com.intellij.psi.impl.source.tree.LazyParseablePsiElement.getFirstChild(LazyParseablePsiElement.java:82)
at com.intellij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:32)
at com.intellij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:14)
at com.intellij.util.WalkingState.next(WalkingState.java:70)
at com.intellij.util.WalkingState.walkChildren(WalkingState.java:49)
at com.intellij.util.WalkingState.elementStarted(WalkingState.java:40)
at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:62)
at com.intellij.lang.javascript.psi.JSRecursiveWalkingElementVisitor.visitElement(JSRecursiveWalkingElementVisitor.java:29)
at com.intellij.lang.javascript.psi.JSElementVisitor.visitJSElement(JSElementVisitor.java:235)
at com.intellij.lang.javascript.psi.JSElementVisitor.visitJSSourceElement(JSElementVisitor.java:239)
at com.intellij.lang.javascript.psi.JSElementVisitor.visitJSStatement(JSElementVisitor.java:249)
at com.intellij.lang.javascript.psi.JSElementVisitor.visitJSExpressionStatement(JSElementVisitor.java:203)
at com.intellij.lang.javascript.psi.impl.JSExpressionStatementImpl.accept(JSExpressionStatementImpl.java:47)
at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:183)
at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:753)
at com.intellij.lang.javascript.index.JSFileCachedDataEvaluator.calculateReferencedPaths(JSFileCachedDataEvaluator.java:173)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getReferencedPaths(JSFileBaseImpl.java:218)
at com.intellij.lang.javascript.psi.stubs.impl.JSFileStubImpl.<init>(JSFileStubImpl.java:29)
at com.intellij.lang.javascript.psi.stubs.impl.JSFileStubBuilder.createStubForFile(JSFileStubBuilder.java:114)
at com.intellij.lang.javascript.psi.stubs.impl.JSFileStubBuilder.doBuildStubTree(JSFileStubBuilder.java:65)
at com.intellij.lang.javascript.psi.stubs.impl.JSFileStubBuilder.buildStubTree(JSFileStubBuilder.java:45)
at com.intellij.psi.stubs.StubTreeBuilder.lambda$buildStubTree$1(StubTreeBuilder.java:142)
at com.intellij.psi.stubs.StubTreeBuilder.handleStubBuilderException(StubTreeBuilder.java:98)
at com.intellij.psi.stubs.StubTreeBuilder.lambda$buildStubTree$3(StubTreeBuilder.java:142)
at com.intellij.psi.impl.PsiManagerImpl.runInBatchFilesMode(PsiManagerImpl.java:462)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:132)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:91)
at com.intellij.psi.stubs.StubTreeLoaderImpl.lambda$build$0(StubTreeLoaderImpl.java:70)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66)
at com.intellij.psi.stubs.StubTreeLoaderImpl.lambda$build$1(StubTreeLoaderImpl.java:70)
at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.computeWithPreloadedContentHint(VirtualFileImpl.java:88)
at com.intellij.psi.stubs.StubTreeLoaderImpl.build(StubTreeLoaderImpl.java:59)
at com.intellij.psi.stubs.StubTreeLoaderImpl.readOrBuild(StubTreeLoaderImpl.java:50)
at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:630)
at com.intellij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at com.intellij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at com.intellij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at com.intellij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at com.intellij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
at com.intellij.openapi.roots.TestSourcesFilter.isTestSources(TestSourcesFilter.java:31)
at org.sonarlint.intellij.fs.IdeaClientModuleFileEventBuilderKt.buildClientModuleFileEventToVirtual(IdeaClientModuleFileEventBuilder.kt:43)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.allEventsFor(DefaultVirtualFileSystemEventsHandler.kt:98)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.fileEventsByModules(DefaultVirtualFileSystemEventsHandler.kt:88)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.forwardEvents(DefaultVirtualFileSystemEventsHandler.kt:59)
at org.sonarlint.intellij.fs.DefaultVirtualFileSystemEventsHandler.forwardEventsAsync$lambda$1(DefaultVirtualFileSystemEventsHandler.kt:49)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
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] 1799623625 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1178308287
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
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] 1465152089 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1658231278
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.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:146)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:87)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:245)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSet(WorkspaceFileIndexImpl.kt:201)
at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.isInContent(WorkspaceFileIndexImpl.kt:67)
at c.ij.oa.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:209)
at c.ij.psi.impl.cache.impl.todo.TodoIndexers.needsTodoIndex(TodoIndexers.java:42)
at c.ij.psi.impl.cache.impl.todo.TodoIndex$4.slowPathIfFileTypeHintUnsure(TodoIndex.java:135)
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] 43070965 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 2017502844
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.isTestFile(JSFileBaseImpl.java:119)
at c.ij.javascript.testFramework.JsTestFileIndexingHandler.isTestFile(JsTestFileIndexingHandler.java:92)
at c.ij.javascript.testing.JsTestSourcesFilter.isTestSource(JsTestSourcesFilter.java:12)
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] 1868122509 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 109350431
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.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:770)
at c.ij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:296)
at c.ij.util.indexing.FileBasedIndexEx.getFileData(FileBasedIndexEx.java:188)
at c.ij.util.indexing.FileBasedIndexEx.getSingleEntryIndexData(FileBasedIndexEx.java:209)
at c.ij.psi.stubs.StubTreeLoaderImpl.readFromVFile(StubTreeLoaderImpl.java:116)
at c.ij.psi.stubs.StubTreeLoaderImpl.readOrBuild(StubTreeLoaderImpl.java:45)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:630)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getGreenJSFileStub(JSFileBaseImpl.java:65)
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] 514917096 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 439102581
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.PsiDocumentManagerBase.getUncommittedDocuments(PsiDocumentManagerBase.java:851)
at c.ij.util.indexing.FileBasedIndexImpl.indexUnsavedDocuments(FileBasedIndexImpl.java:953)
at c.ij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:812)
at c.ij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:296)
at c.ij.util.indexing.FileBasedIndexEx.getFileData(FileBasedIndexEx.java:188)
at c.ij.util.indexing.FileBasedIndexEx.getSingleEntryIndexData(FileBasedIndexEx.java:209)
at c.ij.psi.stubs.StubTreeLoaderImpl.readFromVFile(StubTreeLoaderImpl.java:116)
at c.ij.psi.stubs.StubTreeLoaderImpl.readOrBuild(StubTreeLoaderImpl.java:45)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:630)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
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] 1752890311 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 204271321
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.getChildrenAsPsiElements(CompositeElement.java:385)
at c.ij.psi.impl.source.PsiFileImpl.getChildren(PsiFileImpl.java:738)
at c.ij.psi.impl.source.PsiFileImpl.findChildrenByClass(PsiFileImpl.java:540)
at c.ij.lang.javascript.psi.impl.JSFileImpl.getStatements(JSFileImpl.java:139)
at c.ij.javascript.testFramework.nodejs.testRunner.NodeJsTestFileStructureBuilder.findNodeTestModuleImports(NodeJsTestFileStructureBuilder.kt:447)
at c.ij.javascript.testFramework.nodejs.testRunner.NodeJsTestFileStructureBuilder.buildTestFileStructure(NodeJsTestFileStructureBuilder.kt:29)
at c.ij.javascript.testFramework.nodejs.testRunner.NodeJsTestFileStructureBuilder.buildTestFileStructure(NodeJsTestFileStructureBuilder.kt:14)
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] 1621644536 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1076859122
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.systemjs.SystemJSIndexingHandler.shouldCreateStubForCallExpression(SystemJSIndexingHandler.java:96)
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) ```
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] 2111237996 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 594466990
at c.ij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)
at c.ij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:131)
at c.ij.oa.fileEditor.FileDocumentManager.getDocument(FileDocumentManager.java:60)
at c.ij.psi.AbstractFileViewProvider.getDocument(AbstractFileViewProvider.java:170)
at c.ij.psi.AbstractFileViewProvider$VirtualFileContent.getText(AbstractFileViewProvider.java:446)
at c.ij.psi.AbstractFileViewProvider.getContents(AbstractFileViewProvider.java:151)
at c.ij.psi.stubs.StubTreeLoaderImpl.lambda$build$1(StubTreeLoaderImpl.java:66)
at c.ij.oa.vfs.newvfs.impl.VirtualFileImpl.computeWithPreloadedContentHint(VirtualFileImpl.java:88)
at c.ij.psi.stubs.StubTreeLoaderImpl.build(StubTreeLoaderImpl.java:59)
at c.ij.psi.stubs.StubTreeLoaderImpl.readOrBuild(StubTreeLoaderImpl.java:50)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:630)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at c.ij.psi.impl.source.PsiFileImpl.getGreenStub(PsiFileImpl.java:607)
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] 193275278 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 175837861
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.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at c.ij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at c.ij.psi.impl.source.SpineRef.getStub(SpineRef.java:27)
at c.ij.extapi.psi.StubBasedPsiElementBase.getStub(StubBasedPsiElementBase.java:332)
at c.ij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.getStubOrPsiChild(JSStubBasedPsiTreeUtil.java:486)
at c.ij.lang.javascript.psi.util.JSUtils.getAttributeList(JSUtils.java:473)
at c.ij.lang.javascript.psi.impl.JSFunctionBaseImpl.getAttributeList(JSFunctionBaseImpl.java:933)
at c.ij.lang.javascript.index.JSFileCachedDataEvaluator.checkIfExportStatement(JSFileCachedDataEvaluator.java:151)
at c.ij.lang.javascript.index.JSFileCachedDataEvaluator.visitJSFunctionDeclaration(JSFileCachedDataEvaluator.java:135)