Intellij keeps auto populating run configurations with repeat data

Answered

Intellij keeps putting duplicate run configurations in my run.xml file.  It's the same contents as is already between my two sets of configuration tags but duplicated so that the original file is 54 lines long and the one with generated contents is 304 lines long and I have 12 configurations, 10 of which are duplicate, when I expect only 2.  It's not the end of the world because I can work around it with a mixture of stashing and resetting --hard HEAD in terminal, unticking the runconfiguration when I commit via gui etc but as soon as I click into Intellij it always adds a load of duplicate information into the run config.  Has anyone seen this before and/or does anyone have any insight into what's happening and how I could avoid it?  

0
11 comments

Please report at https://youtrack.jetbrains.com/newIssue?project=IDEA with the before/after XMLs attached and the exact steps to reproduce the issue.

0

Hi,

Bumping into the same issue.

Serge Baranov: I cannot file a bug report:

---
Woah, you can't touch this!
Unfortunately, you are not allowed to access the page you've requested. It seems you don't have sufficient permissions.
Maybe one of these links will get you back on track:
---


Jochen

0

Same here. The runtime configs keeps on growing, slowing down IntelliJ and prohibits changes git branches. chmodding it to 400 makes IntelliJ complain every minute about not being able to save config. Tried a fresh install of IntelliJ (202.7760.26) without plugins, fresh clone of the source but the same thing happening. When I delete the runtime config it automagically keeps being recreated.

0

Do you see this behavior in every project, or in an exact one? 

Is it Maven project? 

Does it help to remove .idea folder in project's root and re-import the project to IDE from scratch?

0

Hi Konstantin,

I only have it in 1 project. It's a Maven project. I can confirm it helps removing the .idea folder and re-importing the project to IDE from scratch. I can't reproduce the problem for the moment.

Thanks! :-)

Jochen

0

Same here. Right now my run xml to launch a node service for a Vue app has 16 exact repeats in it. However run xml for Kotlin server and yarn jest tests does not repeat. I edit the file to remove the duplicates and they are put back nearly immediately.

0

A reproducible test case would be appreciated in YouTrack. See the first reply. Thank you!

0

https://youtrack.jetbrains.com/issue/IDEA-255767 is likely the case. The fix is planned for 2020.3.1 update.

1

IntelliJ sometimes duplicates running configurations for me in the services tab. It's strange because the Run/Debug Configuration window shows the correct list without duplicates.

0

If i hide one of the configs In the services tab duplicate is hidden too, if I restore hidden elements only one config reappears (this is how I fix duplicates by now).

0

Hello,

I couldn't reproduce the issue on my side. Is it possible to share any project demonstrating the issue?

0

Please sign in to leave a comment.