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

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] 1769653074 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 930624593
	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 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] 10532623 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 510830909
	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.frameworks.systemjs.SystemJSIndexingHandler.checkInSystemConfigArgumentList(SystemJSIndexingHandler.java:117)
	at c.ij.lang.javascript.frameworks.systemjs.SystemJSIndexingHandler.shouldCreateStubForLiteral(SystemJSIndexingHandler.java:129)
	at c.ij.lang.javascript.types.JSLiteralExpressionElementType.shouldCreateStub(JSLiteralExpressionElementType.java:62)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X x86_64
  • 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] 1554774009 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 506402085
	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: 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] 1628033316 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 212773608
	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] 643504336 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 350950622
	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.ecmascript6.index.ES6FileIncludeProvider.getIncludeInfos(ES6FileIncludeProvider.java:75)
	at c.ij.psi.impl.include.FileIncludeIndex$1.map(FileIncludeIndex.java:81)

Unfortunately, I don’t actually know what I was doing :frowning:

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] 240389525 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 494258580
	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 x86_64
  • 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] 538889913 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 442217392
	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.util.PackageImportsUtil.findTopLevelPackageImport(PackageImportsUtil.kt:58)
	at c.ij.javascript.testFramework.util.PlaywrightDetectionUtils.hasPlaywrightPackageImport(PlaywrightDetectionUtils.kt:11)
	at c.ij.javascript.testFramework.JsTestFileByTestNameIndex$1.map(JsTestFileByTestNameIndex.java:92)
	at c.ij.javascript.testFramework.JsTestFileByTestNameIndex$1.map(JsTestFileByTestNameIndex.java:63)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: JetBrains Rider 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] 17300550 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 685212753
	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.getReferencedPaths(JSFileBaseImpl.java:213)
	at c.ij.lang.ecmascript6.index.ES6FileIncludeProvider.getIncludeInfos(ES6FileIncludeProvider.java:75)
	at c.ij.psi.impl.include.FileIncludeIndex$1.map(FileIncludeIndex.java:81)
	at c.ij.psi.impl.include.FileIncludeIndex$1.map(FileIncludeIndex.java:53)
	at c.ij.util.indexing.CompositeDataIndexer.map(CompositeDataIndexer.java:55)

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] 2126625160 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 177015560
	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] 456412150 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 681080462
	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: 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] 475496745 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1555612240
	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] 604831821 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1551400327
	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)

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.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] 22020130 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1587863104
	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.util.JSStubBasedPsiTreeUtil.getFilteredFileOrModuleChildrenStream(JSStubBasedPsiTreeUtil.java:864)
	at c.ij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.getFileOrModuleChildrenStream(JSStubBasedPsiTreeUtil.java:854)
	at c.ij.lang.ecmascript6.resolve.ES6ImportHandler$1.compute(ES6ImportHandler.java:46)
	at c.ij.lang.ecmascript6.resolve.ES6ImportHandler$1.compute(ES6ImportHandler.java:42)
	at c.ij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.kt:23)

Environment:

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

Environment:

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

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X x86_64
  • 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] 1235981497 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1845772971
	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] 895414049 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 598631094
	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.evaluateValidity(FileManagerImpl.java:606)
	at c.ij.psi.impl.file.impl.FileManagerImpl.findCachedViewProvider(FileManagerImpl.java:241)
	at c.ij.psi.impl.file.impl.FileManagerImpl.getCachedPsiFileInner(FileManagerImpl.java:478)
	at c.ij.psi.impl.file.impl.FileManagerImpl.getCachedPsiFile(FileManagerImpl.java:394)
	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)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X x86_64
  • 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] 901960797 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1941903958
	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.frameworks.systemjs.SystemJSIndexingHandler.checkInSystemConfigArgumentList(SystemJSIndexingHandler.java:117)
	at c.ij.lang.javascript.frameworks.systemjs.SystemJSIndexingHandler.shouldCreateStubForLiteral(SystemJSIndexingHandler.java:129)
	at c.ij.lang.javascript.types.JSLiteralExpressionElementType.shouldCreateStub(JSLiteralExpressionElementType.java:62)

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