Error "Failed to save settings. Please restart IntelliJ IDEA"
Answered
I have become victim to this error “Failed to save settings. Please restart IntelliJ IDEA”. I know that it has been seen before a couple of times over the last ten years or so. But I couldn't manage to get rid of this with whatever advise I have found there.
Of course I restarted both IntelliJIdea and the OS several times. And it's not an issue with a particular project.
It started after I did updates on 2024-08-14: IntelliJ IDEA 2024.1.6, including updates of Package Search plugin 241.0.11 and Space plugin 241.18968.26.
Is there a way to solve it short of re-installing IntelliJ IDEA?
Can somebody help?
Please sign in to leave a comment.
Please try the following steps:
1. Close the IDE, go to the project directory, backup and delete the entire `.idea` folder and any `.iml` files from its root
2. In the IDE, go to File | New | Project from existing sources, select the project's source (root directory or main build file)
3. Wait for indexing to finish
Please try the following steps:
1. Close the IDE, go to the project directory, backup and delete the entire `.idea` folder and any `.iml` files from its root
2. In the IDE, go to File | New | Project from existing sources, select the project's source (root directory or main build file)
3. Wait for indexing to finish
Thanks for the fast response, Jerome.
Unfortunately that did not help. I even built a new project from scratch and after a couple of minutes the error occurred again.
Should I provide you with a zip with all the Intellij settings and the project for further analysis?
Or is there some other idea. As said earlier, I could re-install IntelliJ IDEA of course, but I try to avoid using that gun if possible.
Here is the error message:
com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.kdocer.action.KDocerAllGenAction' must override `getActionUpdateThread()` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.godwin.kdocer]
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)
and minutes later another error of that kind. I issued a bug report as offered in the error message.
…. and more and more of these. This is really annoying. The error leads to deactivation of the syntax highlighting and is more and more a impediment in my work.
Please submit the issue in https://youtrack.jetbrains.com/issues/IDEA and share the logs captured via Help | Collect Logs and Diagnostic Data
OK. It will need 2-3 days for me to prepare all the info properly to allow for an effective and efficient analysis at your side.
Hi Jerome. I have prepared now a small project to demonstrate the error. When the error occurred, I took screenshots and collected the logs. They are in a subfolder to the project folder ("logs and screenshots").
I have uploaded the zip of the project (Upload id: 2024_09_01_wBRSk2q96iFCVynf2m6ixx (file: Issue20240819.zip)).
Please disable the Qodana plugin via the menu File | Settings | Plugin | Installed tab.
In two days of observation period I haven't encountered the issue again. I guess disabling of that plugin did the trick.
Many thanks for your professional support. It's a pleasure to work with IntelliJ and Kotlin, especially knowing that we can count on you if there is really an issue.
Roland