Run/debug button is enabled but does not work
Answered
Info:
- Using Ultimate edition 2019.2 (reinstall with deleting folders didnt help)
- Using Java 1.8 (exactly the same as from before the issue)
- Reimporting projects didn't help
- Fetching it again in different path - didnt help
- Removing idea folder and iml files didnt help
- Invalidating caches didnt help
- Run button is present while clicking on main function and on main class.
- Run has a GREEN color next to "THE SAME" run configuration at the top-right (its the same configuration ive used previously - nothing changed), but when I "press" it nothing happens! Debug button is the same - it is green and clickable, but does not make anything
- There are ZERO logs about what went wrong...
Im really buffled, spent like 2 days now banging my head against it, because it makes no sense
P.s. I found the same problem and the solution is to disable a Gradle plugin but for the MAVEN projects it only works, while mine is Gradle and it could not work without that plugin...
Please sign in to leave a comment.
Do you mean https://youtrack.jetbrains.com/issue/IDEA-180659 or RUN simply stopped working thread issue? It talks about Run button becoming disabled after pressing it. There is also https://youtrack.jetbrains.com/issue/IDEA-172080 but we can not reproduce them unfortunately. Do you have stable way of reproducing it on an independent environment?
Does it happen with any project, any configuration?
Try re-creating configuration from scratch, try re-creating project configuration files by re-importing it from existing sources (File | New | Project from Existing Sources. Try disabling custom plugins and File | Invalidate Caches/Restart.. | Invalidate and Restart.
Andrey Dernov my problem seems more like the first and the second link. And by the reason that I saw every of them I wrote that the only way I found to fix my problem was to disable Gradle plugin... I've tried already to recreate config, recreate prod from existing sources and tried many times to restart and invalidate cashes... this does not help. May be you could help me, how could I determine custom plugins in the list of all plugins? But I think that I only have a Lombok custom plugin. And I also need to say that run button also does not work in other projects, while all of them could be started from command line (by Gradle bootRun)... but I need exactly start from ide.. So I know, that it could not make some help, but I've started my modules from ide 3 days ago without any troubles... and I could not know, what did I brake...
>how could I determine custom plugins in the list of all plugins?
They are displayed in Downloaded group:
If nothing helps try starting with default settings (rename/remove IDE settings/caches directories).
Andrey Dernov Thanks for reply, but that did not help at all... firstly I've disabled all downloaded plugins (I had only "Lombok" one) and that did not make any changes. Than I removed all sett/caches directories and now Idea could not determine any modules in my project... I do not even know what's to do... I saved settings folders in other directories and I could backup to set up version, but there problem with Gradle plugin will occur again
>Than I removed all sett/caches directories and now Idea could not determine any modules in my project...
Please open the project via File | New | Project from Existing Sources and select build.gradle file to import project from for the IDE to automatically set up the project configuration.
I had the same issue with IntelliJ IDEA 2019.2 on Ubuntu 18.04 (run button was enabled, but was doing nothing).
I've just uninstalled IDEA and installed the newest version (2019.3.4). Now the button is working fine.
Just uninstalling Gradle plugin from File ->Settings->Plugins and restarting intelliJ worked in my case.
عند الضغط على Run لايعمل
Hi Mekhahmed77
You worte: