Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in plugin Flutter #7331

Closed
CreperBerig opened this issue Apr 6, 2024 · 1 comment
Closed

Exception in plugin Flutter #7331

CreperBerig opened this issue Apr 6, 2024 · 1 comment
Milestone

Comments

@CreperBerig
Copy link

CreperBerig commented Apr 6, 2024

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
github.com/flutter/flutter.

Steps to Reproduce

Please tell us what you were doing and what went wrong

Version info

Please paste the output of running flutter doctor -v here (available from the command
line or from Tools > Flutter > Flutter Doctor). It will provide the version of the
Flutter framework as well as of the IntelliJ plugin.
IntelliJ IDEA 2024.1 • Flutter plugin io.flutter 78.5.1 • Dart plugin 241.15845

##Exception
null
com.intellij.diagnostic.PluginException:ActionUpdateThread.OLD_EDTis deprecated and going to be removed soon. 'io.flutter.preview.PreviewView$ShowOnlyWidgetsAction' must overridegetActionUpdateThreadand 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 jwren added this to the M80 milestone Apr 10, 2024
bc-lee added a commit to bc-lee/flutter-intellij that referenced this issue Apr 17, 2024
From Intellij 2024.1, any actions that doesn't override
`getActionUpdateThread` triggers a warning. This is because
the default behavior `OLD_EDT` will be removed in the future.
To suppress the warning, we need to declare this action as EDT,
as it's modifying the presentation in `update()`.

Fixes flutter#7331
@jwren
Copy link
Contributor

jwren commented May 15, 2024

Duplicate of #7330

@jwren jwren marked this as a duplicate of #7330 May 15, 2024
@jwren jwren closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants