Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.14.1][CLION 2024.3.3] com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from... #406

Open
wcarmon opened this issue Mar 1, 2025 · 0 comments

Comments

@wcarmon
Copy link

wcarmon commented Mar 1, 2025

User Description

User did not enter any detailed information.

Stack Trace

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify model on EDT consider wrapping your code in WriteIntentReadAction  or ReadAction; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[#4266,DefaultDispatcher-worker-48,5,main] 2126051216 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[#66,AWT-EventQueue-0,6,main] 155632497
	at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:218)
	at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:155)
	at com.intellij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(FileManagerImpl.java:617)
	at com.intellij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(FileManagerImpl.java:612)
	at com.intellij.psi.impl.source.PsiFileImpl.isValid(PsiFileImpl.java:176)
	at com.intellij.psi.impl.source.PsiFileImpl.getText(PsiFileImpl.java:319)
	at ai.codium.completion.InlineCompletionsProviderImpl.getDependenciesContext(lnlineCompletionsProviderImpl

<TRIMMED STACKTRACE>

3)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
	at com.intellij.openapi.progress.CoroutinesKt.jobToIndicator(coroutines.kt:435)
	at com.intellij.openapi.progress.CoroutinesKt.contextToIndicator(coroutines.kt:427)
	at com.intellij.openapi.progress.CoroutinesKt.coroutineToIndicator(coroutines.kt:371)
	at ai.codium.completion.InlineCompletionsProviderImpl$updateContextAsync$2.invokeSuspend(lnlineCompletionsProviderImpl.kt:282)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:125)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Other Information

=== About ===
Build version: CLion 2024.3.3 Build: #CL-243.24978.55 February 12, 2025
Theme: Dark
JRE: 21.0.6+8-b631.39, JetBrains s.r.o.
JVM: 21.0.6+8-b631.39, OpenJDK 64-Bit Server VM, JetBrains s.r.o.
Operating System: Linux 6.8.0-53-generic (amd64)

=== Plugins ===
Custom plugins: [Protocol Buffers (243.22562.13), CamelCase (3.0.12), Rust (243.23654.180), Qodo Gen (Formerly Codiumate) (0.14.1)]
Disabled plugins:[Angular (243.24978.55), Remote Development Gateway (243.24978.55), ClangConfig (243.24978.55), Dev Containers (243.24978.55), QtCreator Keymap (243.24978.55), Code With Me (243.24978.55), CLion Solarized Color Scheme (243.24978.55), Blackboard Color Scheme (243.24978.55), LinkerScript (243.24978.55), Perforce Helix Core (243.24978.55), JavaScript Intention Power Pack (243.24978.55), Eclipse Keymap (243.24978.55), Embedded Development Support (243.24978.55), Grazie Lite (243.24978.55), Dawn Color Scheme (243.24978.55), Docker (243.24978.55), C/C++ Package Manager (243.24978.55), XPathView + XSLT (243.24978.55), Meson (243.24978.55), All Hallow's Eve Color Scheme (243.24978.55), Espresso Color Scheme (243.24978.55), Karma (243.24978.55), Cobalt Color Scheme (243.24978.55), HTTP Client (243.24978.55), Machine Learning Code Completion (243.24978.55), CIDR-Copyright (243.24978.55), Next.js (243.24978.55), Visual Studio Keymap (243.24978.55), Prettier (243.24978.55), Tabnine: AI Chat & Autocomplete for JavaScript, Python & more (1.204.0), Time Tracking (243.24978.55), ReSharper Keymap (243.24978.55), Polymer & Web Components (243.24978.55), Remote Execution Agent (243.24978.55), CLion Doctest (243.24978.55), Styled Components & Styled JSX (243.24978.55), CLion Integration for Zephyr® Project (243.24978.55), NetBeans Keymap (243.24978.55), Node.js Remote Interpreter (243.24978.55), Railscasts Color Scheme (243.24978.55), Markdown (243.24978.55), C/C++ Performance Testing (243.24978.55), intellij.rider.plugins.clion.radler.cwm (243.24978.55), Sass (243.24978.55), CLion Boost.Test (243.24978.55), CLion Catch (243.24978.55), QML (243.24978.55), CLion IntelliLang (243.24978.55), Copyright (243.24978.55), TextMate Bundles (243.24978.55), CIDR-Markdown (243.24978.55), TSLint (243.24978.55), GitHub (243.24978.55-ultimate), CLion CTest (243.24978.55), CLion Google Testing and Mocking Framework (243.24978.55), Subversion (243.24978.55), Vue.js (243.24978.55), Makefile (243.24978.55), Node.js (243.24978.55), Xcode Color Scheme (243.24978.55), ClangFormat (243.24978.55), PostCSS (243.24978.55), Makefile Language (243.24978.55), JSONPath (243.24978.55), Korean Language Pack / 한국어 언어 팩 (243.24978.55), Devicetree (243.24978.55), VibrantInk Color Scheme (243.24978.55), Xcode Keymap (243.24978.55), Twilight Color Scheme (243.24978.55), Performance Testing (243.24978.55), Custom Defined Compiler Support (243.24978.55), FTP/SFTP/WebDAV Connectivity (243.24978.55), Qodana (243.24978.55), CIDR-Grazie (243.24978.55), Vite (243.24978.55), Backup and Sync (243.24978.55), HTML Tools (243.24978.55), Stylelint (243.24978.55), React (243.24978.55), IDE Features Trainer (243.24978.55), Diagrams (243.24978.55), Chinese (Simplified) Language Pack / 中文语言包 (243.24978.55), Python Community Edition (243.24978.55), SSH Remote Run (243.24978.55), Mercurial (243.24978.55), Task Management (243.24978.55), C/C++ Language Support via Classic Engine (243.24978.55), JavaScript and TypeScript (243.24978.55), Database Tools and SQL (243.24978.55), GitLab (243.24978.55), WarmNeon Color Scheme (243.24978.55), Qt (243.24978.55), CIDR-CompletionMlRanking (243.24978.55), CLion Performance Testing (243.24978.55), CLion C/C++ File Runner (243.24978.55), JavaScript Debugger (243.24978.55), YAML (243.24978.55), Machine Learning in Search Everywhere (243.24978.55), Webpack (243.24978.55), Tailwind CSS (243.24978.55), Less (243.24978.55), Terminal for Gateway (243.24978.55), Japanese Language Pack / 日本語言語パック (243.24978.55), Clangd-CLion Bridge (243.24978.55), Remote Hosts Data Access (243.24978.55), Full Line Code Completion (243.24978.55), CSS (243.24978.55), Ini (243.24978.55)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant