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

fixes deprecation warning that crashes plugin #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hendrikras
Copy link

@hendrikras hendrikras commented Sep 25, 2024

fixes the following error message that crashes the plugin, at least on WebStorm 2024.2:

com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'systems.fehn.intellijdirenv.DirenvImportAction' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: systems.fehn.intellijdirenv]
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)

@hendrikras hendrikras mentioned this pull request Sep 25, 2024
@pboling
Copy link

pboling commented Sep 27, 2024

I was just coming here to post the same. Thanks for making this PR. I hope it gets some action soon!

@RafaelKr
Copy link

Would love to see this fixed with an update soon.

@stijndcl
Copy link

@fehnomenal could you please have a quick look at this MR? The constant warnings and crashes are incredibly annoying

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 this pull request may close these issues.

4 participants