ActionUpdateThread.OLD_EDT Deprecation Warning - Plugin Needs getActionUpdateThread() Override
Description I am encountering a persistent PluginException related to the ActionUpdateThread.OLD_EDT being deprecated, as shown in the attached screenshot and stack trace. This error indicates that the RunCmdShellAction within the CMD Support plugin needs to be updated to override getActionUpdateThread() and specify its ActionUpdateThread preference (EDT or BGT).
Impact
The error dialog frequently pops up, disrupting my workflow. It indicates an outdated API usage that may lead to future compatibility issues or performance problems.
Steps to Reproduce
This error appears during IDE start up. I do not have specific reproduction steps; it appears to be an intermittent background error.
Expected Behavior The plugin should operate without displaying deprecation warnings or internal IDE errors, using modern API practices.
Actual Behavior A PluginException dialog appears, warning about the ActionUpdateThread.OLD_EDT deprecation.
Environment
IDE: [Your IDE Name, e.g., IntelliJ IDEA Ultimate, IntelliJ IDEA Community, Android Studio]
IDE Version: [e.g., 2024.1.2, 2023.3.4 - You can find this in Help -> About]
OS: [Your Operating System, e.g., Windows 11, macOS Sonoma 14.4.1, Ubuntu 22.04 LTS]
CMD Support Plugin Version: 1.0.5
Stack Trace
com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'ua.t3hnar.plugins.cmdsupport.actions.RunCmdShellAction' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: CMD Support]
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.