Error in SonarLint for IntelliJ 10.4.2 - RuntimeExceptionWithAttachments: Read access is allowed

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 10 amd64
  • 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] 673828490 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1410661504
	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.getModuleStatus(JSFileBaseImpl.java:114)
	at c.ij.lang.ecmascript6.resolve.ES6PsiUtil.isExternalModule(ES6PsiUtil.java:504)
	at c.ij.lang.ecmascript6.resolve.ES6ImportHandler.getExportedCacheForModule(ES6ImportHandler.java:252)
	at c.ij.lang.ecmascript6.resolve.ES6ImportHandler.getExportedViaStatementCache(ES6ImportHandler.java:247)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • IDE: PhpStorm 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] 1152500101 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 211857089
	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.LazyParseablePsiElement.getFirstChild(LazyParseablePsiElement.java:82)
	at c.ij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:32)
	at c.ij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:14)
	at c.ij.util.WalkingState.next(WalkingState.java:70)
	at c.ij.util.WalkingState.walkChildren(WalkingState.java:49)
	at c.ij.util.WalkingState.elementStarted(WalkingState.java:40)
	at c.ij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:62)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • 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] 1574311825 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1559318310
	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.lang.javascript.psi.ecma6.impl.JSReferenceListMemberImpl.getReferenceText(JSReferenceListMemberImpl.java:71)
	at c.ij.lang.javascript.frameworks.react.ReactFrameworkIndexingHandler.processClass(ReactFrameworkIndexingHandler.java:91)
	at c.ij.lang.ecmascript6.psi.impl.ES6ClassImpl.calculateIndexingData(ES6ClassImpl.java:62)
	at c.ij.lang.javascript.psi.impl.JSImplicitElementProviderImpl.lambda$calcAndCacheIndexingData$0(JSImplicitElementProviderImpl.java:60)
	at c.ij.lang.javascript.psi.impl.JSStubElementImpl.getCachedValueStubBuildOptimized(JSStubElementImpl.java:358)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: PhpStorm 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] 1186752722 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 238667192
	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.LazyParseablePsiElement.getFirstChild(LazyParseablePsiElement.java:82)
	at c.ij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:32)
	at c.ij.psi.PsiWalkingState$PsiTreeGuide.getFirstChild(PsiWalkingState.java:14)
	at c.ij.util.WalkingState.next(WalkingState.java:70)
	at c.ij.util.WalkingState.walkChildren(WalkingState.java:49)
	at c.ij.util.WalkingState.elementStarted(WalkingState.java:40)
	at c.ij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:62)

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] 1525048230 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 544585087
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 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] 84716912 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 798186910
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • 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] 1401448931 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1326093648
	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.file.impl.FileManagerImpl.getCachedPsiFile(FileManagerImpl.java:382)
	at c.ij.psi.stubs.StubTreeLoaderImpl.checkLengthMatch(StubTreeLoaderImpl.java:148)
	at c.ij.psi.stubs.StubTreeLoaderImpl.readFromVFile(StubTreeLoaderImpl.java:119)
	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)
	at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getCachedData(JSFileBaseImpl.java:52)
	at c.ij.lang.javascript.psi.impl.JSFileBaseImpl.getTestFileType(JSFileBaseImpl.java:124)

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] 1732747730 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 524714851
	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.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.createStub(DefaultStubBuilder.java:76)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • 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] 1942424746 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1478225067
	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.lang.javascript.psi.ecma6.impl.JSReferenceListMemberImpl.getReferenceText(JSReferenceListMemberImpl.java:71)
	at c.ij.lang.javascript.frameworks.react.ReactFrameworkIndexingHandler.processClass(ReactFrameworkIndexingHandler.java:91)
	at c.ij.lang.ecmascript6.psi.impl.ES6ClassImpl.calculateIndexingData(ES6ClassImpl.java:62)
	at c.ij.lang.javascript.psi.impl.JSImplicitElementProviderImpl.lambda$calcAndCacheIndexingData$0(JSImplicitElementProviderImpl.java:60)
	at c.ij.lang.javascript.psi.impl.JSStubElementImpl.getCachedValueStubBuildOptimized(JSStubElementImpl.java:358)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • 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] 809360518 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1359090176
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 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] 249023681 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1580655085
	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.oa.roots.impl.ProjectFileIndexImpl.isUnderIgnored(ProjectFileIndexImpl.java:76)
	at c.ij.oa.roots.impl.ProjectFileIndexFacade.isUnderIgnored(ProjectFileIndexFacade.java:71)
	at c.ij.psi.impl.file.impl.FileManagerImpl.isExcludedOrIgnored(FileManagerImpl.java:436)
	at c.ij.psi.impl.file.impl.FileManagerImpl.findDirectoryImpl(FileManagerImpl.java:422)
	at c.ij.psi.impl.file.impl.FileManagerImpl.findDirectoryImpl(FileManagerImpl.java:426)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X x86_64
  • IDE: WebStorm 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] 485706977 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1563970159
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: WebStorm 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] 1312955412 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1732423737
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • 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] 318205163 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1356063901
	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 com.jetbrains.clones.index.HashIndexFileFilterKt.isIndexed(HashIndexFileFilter.kt:21)
	at com.jetbrains.clones.index.HashIndexFileFilter.slowPathIfFileTypeHintUnsure(HashIndexFileFilter.kt:51)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: PhpStorm 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] 2121895245 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1858135981
	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.getModuleStatus(JSFileBaseImpl.java:114)
	at c.ij.lang.javascript.psi.JSModuleStatusOwner.isCommonJSModule(JSModuleStatusOwner.java:11)
	at c.ij.lang.javascript.psi.util.JSUtils.getImplicitAccessType(JSUtils.java:234)
	at c.ij.lang.javascript.psi.ecmal4.impl.JSAttributeListImpl.lambda$getAccessType$0(JSAttributeListImpl.java:89)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 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] 1977901676 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 618110931
	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:488)
	at c.ij.lang.javascript.psi.util.JSUtils.getAttributeList(JSUtils.java:473)
	at c.ij.lang.javascript.psi.impl.JSParameterImpl.getAttributeList(JSParameterImpl.java:169)
	at c.ij.lang.javascript.ecmascript6.TypeScriptFileCachedDataEvaluator.checkIfExportStatement(TypeScriptFileCachedDataEvaluator.java:78)
	at c.ij.lang.javascript.ecmascript6.TypeScriptFileCachedDataEvaluator.visitJSVariable(TypeScriptFileCachedDataEvaluator.java:52)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: WebStorm 2024.1
  • SonarLint: 10.4.2.78113
  • uname -r: 5.15.146.1-microsoft-standard-WSL2
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] 923072395 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 484129512
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • 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] 1812839249 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 168861922
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 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] 249023681 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1580655085
	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.file.impl.FileManagerImpl.findDirectory(FileManagerImpl.java:404)
	at c.ij.psi.impl.PsiManagerImpl.findDirectory(PsiManagerImpl.java:175)
	at c.ij.psi.AbstractFileViewProvider.shouldCreatePsi(AbstractFileViewProvider.java:89)
	at c.ij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:144)
	at c.ij.psi.SingleRootFileViewProvider.getPsiInner(SingleRootFileViewProvider.java:101)
	at c.ij.psi.AbstractFileViewProvider.getPsi(AbstractFileViewProvider.java:185)
	at c.ij.psi.impl.file.impl.FileManagerImpl.areViewProvidersEquivalent(FileManagerImpl.java:552)
	at c.ij.psi.impl.file.impl.FileManagerImpl.shouldResurrect(FileManagerImpl.java:649)
	at c.ij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(FileManagerImpl.java:617)
	at c.ij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(FileManagerImpl.java:602)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 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] 262060549 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 942375707
	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)