microsoft / azure-devops-intellij

IntelliJ IDEA plug-in for Visual Studio Team Services and Team Foundation Server (TFS)
MIT License
149 stars 94 forks source link

ActionUpdateThread.OLD_EDT is deprecated #575

Open yelkarama opened 4 months ago

yelkarama commented 4 months ago

Got this exception:

com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'com.microsoft.alm.plugin.idea.common.actions.SelectWorkItemsAction' must override getActionUpdateThread and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.microsoft.vso.idea] 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:198)

sh41 commented 3 months ago

I am also seeing similar:

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.microsoft.alm.plugin.idea.common.actions.OpenCommitInBrowserAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.microsoft.vso.idea]
    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:199)

My environment:

IntelliJ IDEA 2024.1 (Ultimate Edition)
Build #IU-241.14494.240, built on March 28, 2024
Licensed to ***
Subscription is active until ***
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.133.1-microsoft-standard-wsl2
GC: G1 Young Generation, G1 Old Generation
Memory: 20480M
Cores: 8
Registry:
  file.system.trace.loading=/usr/share/fonts;/usr/lib64/gtk-3.0
  ide.experimental.ui=true
Non-Bundled Plugins:
  systems.fehn.intellijdirenv (0.2.9)
  awesome.console (0.1337.12)
  org.jetbrains.plugins.ruby (241.14494.240)
  com.microsoft.vso.idea (1.162.2)
Kotlin: 241.14494.240-IJ
Current Desktop: Undefined
vova-lantsov-dev commented 2 months ago

I get the same error every time I open any project in JetBrains Rider 2024.1.1 It's kind of annoying :(

abel406 commented 2 months ago

It keeps happening in Jetbrains Rider 2024.1 Microsoft has not updated the plugin.

andras-gyarmati commented 1 month ago

same in latest version

Irdis commented 1 month ago

it's annoying