dkandalov / pomodoro-tm

Pomodoro timer for IntelliJ 🍅⏲
https://plugins.jetbrains.com/plugin/4954
Apache License 2.0
140 stars 23 forks source link

"pomodoro.StartOrStopPomodoro' must override `getActionUpdateThread()" #27

Open dps999 opened 1 month ago

dps999 commented 1 month ago

Hello, this issue happens in Rider 2024.2.6

com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'pomodoro.StartOrStopPomodoro' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: Pomodoro-tm] 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.java:201)

dkandalov commented 1 month ago

Hi. Thank you for reporting this. It happened to few plugins, I guess this is a new way Jetbrains are trying to enforce deprecation of APIs 🙄 I'll fix it and upload a new version hopefully this week.

dkandalov commented 1 month ago

This should be fixed in plugin version 0.80.