Press the + button to create a new Configuration which cannot be loaded
When I started up my development machine (mid-2011 iMac, Yosemite 10.10.3) I noticed that my debug configuration had disappeared: when I had last used this machine three days ago there was no problem with it.
Opening the Edit Configurations dialog, I saw that the debug configuration was replaced by a question mark and the word Unknown.
Clicking the triangle before it showed the former configuration as the word Debug with a shortcut icon adorned with little red 'error' cross (see screen capture). In the right panel it said:
Broken configuration due to unavailable plugin or invalid configuration data.
When I clicked on the word Unknown, this was replaced by the deeply puzzling
Press the + button to create a new Configuration which cannot be loaded due to some reasons based on default settings
which made me laugh, because it's sheer absurdity reminded me of Monty Python's Flying Circus - or the nebulous "General Failure" errors that Windows 95 and 98 produced.
Because I had seen one other application generate an error during start-up, I closed and re-opened Intellij, and the debug configuration was restored.
I'm posting this mostly because the error message really made me wonder what caused this situation: I'm especially curious to what Intellij considers some reasons - and I'd also love to know why on earth it would recommend to create a Configuration which cannot be loaded ?
Please sign in to leave a comment.
It appears that some plug-in providing this run/debug configuration type was disabled or uninstalled. idea.log would have more details about disabled plugins (https://intellij-support.jetbrains.com/entries/23352446).
Hi Serge,
it seems not, because everything was back to normal after I restarted IntelliJ. It must have been some glitch during startup, possibly caused by another application or process (I noticed the System Preferences reporting some error while IntelliJ loaded, but I forgot what it was).
This is a summary of the relevant section in the idea.log:
The configuration editor reported "broken configuration due to unavailable plugin or invalid configuration data" so I assumed that indeed some plug-in had failed to load.
Since I rebooted Intellij there hasn't been a problem again ... I posted it here because the error message was so puzzling:
Being a developer as well, I've also dealt with handling exceptions and trying to report something useful; maybe that's why I'm so fazed by the juxtaposition of "Press the + button to create a new Configuration" and "which cannot be loaded".
What is that message trying to communicate?
It's as if I'm driving into a gas station to see a billboard with the text "Try our new supereconomy fuel that your engine won't be able to run on!" - or, in the supermarket: "Nono Bread - guaranteed inedible!" - or even "Surprise jeans! Guaranteed to not fit you, nor anyone else!"
I can understand that it's no good to dump the stack traces in there, but "due to some reasons" just sounds - I don't know, absurd comes closest.
I can't help you due to some reasons.
This car won't run due to some reasons.
Again, what is this trying to get across? That there was more than just one reason?
I think I would rather just refer to the idea.log, or else to try and be a bit more specific than this :)
Please attach the complete log file, or you can submit a bug at http://youtrack.jetbrains.com/issues/IDEA so that we can investigate this problem in more detail and improve the error handling and the messages displayed because of this error.
sure, will do
Wanted to comment that the exact same thing happened to me just now with version 2022.3. I had to re-open intelliJ a second time for the runConfigurations to correctly sort work and sort into Python as opposed to unknown.
Twosiderscontact, could you please share your IDE log with us so I can see the exact error message? You can do it using the JetBrains Uploads service and post the ID you receive here.