aws-toolkit-jetbrains
aws-toolkit-jetbrains copied to clipboard
Slow operations are prohibited on Event Dispatch Thread, Plugin 1.88-233 not working on JetBrains IDE.
Description of the bug
This title refers to an error that occurs when a slow operation is performed on the Event Dispatch Thread (EDT) in IntelliJ IDEA 2023.3. The EDT is responsible for handling user interface events, such as mouse clicks, keyboard inputs, and window resizing. If a slow operation, such as reading a file or querying a database, is executed on the EDT, it will block the UI and make the application unresponsive. To avoid this, slow operations should be performed on a background thread, using methods such as Application.invokeLater
, Application.executeOnPooledThread
, or ProgressManager.runProcessWithProgressSynchronously
.
Identify the source of the slow operation and move it to a background thread, using the methods mentioned above. You can use the stack trace of the error to locate the problematic code or plugin. You can also use the built-in profiler or debugger to measure the execution time of your code or plugins.
This error was introduced in IntelliJ IDEA 2023.3 as a way to detect and prevent slow operations on the EDT. However, some users have reported that this error occurs frequently and disrupts their workflow.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/4404900513170-Bug-Slow-operations-are-prohibited-on-EDT https://youtrack.jetbrains.com/issue/WEB-52144 https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/815 https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2090
To reproduce
Just install and login with credentials via AWS Builder ID
Expected behavior
Comment to create function, it not works.
Screenshots
Not necessary
Your Environment
- OS: Windows
- JetBrains product: WebStorm 2023.3
- JetBrains product version: 2023.3
- AWS Toolkit version: 1.88-2.33
- SAM CLI version:
- JVM/Python version: Python 3.12.0 JVM: openjdk 11.0.16.1 2022-08-12 LTS OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS) OpenJDK 64-Bit Server VM Microsoft-40648 (build 11.0.16.1+1-LTS, mixed mode)
Additional context
Not much
Hope so it will solve soon.😒😊