Jetbrains 2025.1.1.1 unresponsive UI after ran main function in a kotlin project

Answered

Dear Support Team,

I'm experiencing an issue with IntelliJ IDEA 2025. After upgrading, my Gradle project written in Kotlin builds and runs without issues. However, once the application finishes running (main function), the UI becomes unresponsive and IntelliJ IDEA starts consuming 5-20% CPU indefinitely. Additionally, the Toolbox icon turns red instead of green.

Could you please help me troubleshoot or provide a fix for this issue? I'd appreciate any guidance or updates on this matter.

Thank you for your assistance.
(screenshot of a process and toolbox)
Upload id: 2025_05_12_Eh82H4cwBij5ah2UDh7Jo9 (file: Screenshot 2025-05-12 112101.png)
Upload id: 2025_05_12_26B2gnnvMBmwhwAuNkzXSM (file: Screenshot 2025-05-12 112627.png)

regards.

0
10 comments

Problem appears only with kotlin projects. I've already raised heap to 16Gb.

0

Faceoff Please also provide below info:

1. Capture a thread dump with jstack while the issue is present.

2.The zipped log folder (Help | Collect Logs and Diagnostic Data)

0

Hi, Bond Han. I don't have such directory or executable tools listed in the articles, like <ide_installed_path>/jbr/bin. 
But, I believe, IntelliJ Idea create right thread dump automatically when UI hang. 

I have uploaded with your service zipped folder: Upload id: 2025_05_13_YiauhnMaoat9xktsorau4p (file: threadDumps-freeze-20250513-081137-IU-251.25410.129.zip)

0
Does it improve by invalidating the cache?

File > Invalidate Caches.. > enable Clear file system cache and Local History option > Invalidate and Restart
0

No it does not help. I want to highlight again this behaviour exists only with kotlin projects.

Java projects, java + js projects are not affected

0
Apart from the dumps, could you please share the entire zipped log folder also? It would be great if you could share it in a new YouTrack ticket, where JB team can work on it more effectively.

https://youtrack.jetbrains.com/newIssue
0

Hello, Bond Han.
I am afraid , I can't provide all logs because as saw some of them include environment variables that contains personal login, tokens and so on. If you can provide a list of specific logs that do not contain sensitive data, I do.

0

 Apart from the dumps, it is the idea.log under Logs directory that we need to check. Please follow below steps to collect it to avoid sensitive info:

1. Stop the IDE

2. Clear the old idea.log

3. Start the IDE and reproduce the issue and try best to avoid unnecessary operations.

4. Manually review the log to see if any sensitive info is collected before uploading it.

5. In YouTrack, you can set the visibility of the uploaded file to you and JB team only.

0

I've created ticket with the log, but after I deleted logs, idea stop to run main function from kotlin projects.
https://youtrack.jetbrains.com/issue/IDEA-372770/After-run-Kotlin-project-UI-hang-and-now-after-deleting-the-logs-main-function-not-run-at-all

0
Thank you for the efforts. I have routed the ticket you created to our Kotlin team to check further, please follow it for the update.
0

Please sign in to leave a comment.