flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.95k stars 310 forks source link

com.intellij.diagnostic.PluginException about ActionUpdateThread.OLD_EDT #7388

Closed wxd79 closed 4 days ago

wxd79 commented 3 weeks ago

What happened

I normally use Flutter for project development. Intellij reports errors frequently. It happens every day. You can ignore the exceptions and continue to use it usually, but once it caused the whole Intellij to crash.

Version information

IntelliJ IDEA 2024.1 • Flutter plugin io.flutter 79.0.3 • Dart plugin 241.15845

Flutter 3.19.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 300451adae (4 weeks ago) • 2024-03-27 21:54:07 -0500 Engine • revision e76c956498 Tools • Dart 3.3.3 • DevTools 2.31.1

Exception

null

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'io.flutter.actions.OpenSimulatorAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: io.flutter]
    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)
jwren commented 4 days ago

Duplicate of https://github.com/flutter/flutter-intellij/issues/7330