remotemobprogramming / intellij-mob

IntelliJ plugin for fast git handover and timer with mob
https://plugins.jetbrains.com/plugin/14266-mob
Apache License 2.0
34 stars 5 forks source link

`PluginException` occurs on IntelliJ IDEA 2024.2.1 warning about deprecated API usage #107

Open christopher-nash opened 1 week ago

christopher-nash commented 1 week ago

When I launch IntelliJ IDEA 2024.2.1, I get the following error message from IntelliJ:

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.nowsprinting.intellij_mob.action.start.StartAction' must override `getActionUpdateThread()` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.nowsprinting.intellij-mob]
    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)

It appears that this plugin is making a deprecated API call that will be removed soon. Without digging too deep into it, the error message references https://github.com/remotemobprogramming/intellij-mob/blob/master/src/main/kotlin/com/nowsprinting/intellij_mob/action/start/StartAction.kt suggesting it needs to be modified.

nowsprinting commented 1 week ago

Thank you for your report! I try to fix it ASAP.