Unable to "Close Project" or IntelliJ. Stuck on "Closing project" dialog



IntelliJ IDEA 2023.3.4 (Ultimate Edition)
Build #IU-233.14475.28, built on February 13, 2024

1. Open a project under IntelliJ

2. Do work as normal.

3. Attempt to shut down IntelliJ

4. Result “Closing project” dialog modal stays on screen, IntelliJ unable to close. I have to manually force shut down on Mac via Activity Monitor or Force Quit Applications.

I can no longer shut down IntelliJ cleanly.

Runtime version: 17.0.10+1-b1087.17 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 5120M
Cores: 16
Metal Rendering is ON

Non-Bundled Plugins:
 com.jetbrains.plugins.ini4idea (233.14475.38)
 com.intellij.javafx (1.0.4)
 to-go-struct (1.0.7)
 org.jetbrains.plugins.go (233.14475.9)
 com.shuzijun.markdown-editor (2.0.5)
 com.intellij.grazie.pro (0.3.284)
 com.github.chencn.yamlandprops (1.0.5)
 com.kondratevpavel.plugins.goland.gomethodgenerator (1.0)
 org.leo.goanno (3.1.0)
 com.jetbrains.edu (2024.1-2023.3-882)
 org.jetbrains.plugins.vagrant (233.13135.65)
 com.github.wenzewoo.jetbrains.plugin.jetbrains-markdown-image-support (1.4.1-SNAPSHOT)
 org.jetbrains.plugins.go-template (233.11799.172)
 com.intellij.ideolog (
 com.eversql.plugins.jetbrains (1.3.1)
 Key Promoter X (2023.3.0)
 com.samdark.intellij-visual-studio-code-dark-plus (2.8)
 ChatGPT (3.2.0-231.233)
 com.intellij.aqua (233.14475.49)
 ee.carlrobert.chatgpt (2.3.1)
 app.teamhub (17.0.0)
 com.github.copilot (
 com.intellij.jira (4.7.1)
 mobi.hsz.idea.gitignore (4.5.2)
 com.atlassian.bitbucket.references (2023.1.281)
 Dart (233.13763.5)
 com.github.beansoftapp.reatnative.idea (2023.3.1)
 org.jetbrains.android (233.14475.28)
 io.flutter (78.1.1)
 com.jetbrains.packagesearch.intellij-plugin (233.11800.2)
 com.dmarcotte.handlebars (233.11799.172)
 com.haulmont.rcb (233.13135.65)
 Pythonid (233.14475.28)
 R4Intellij (233.13763.11)
 io.github.donkirkby.livepycharm (4.11.3)
 com.intellij.bigdatatools.core (233.14475.28)
 com.intellij.bigdatatools.binary.files (233.11799.267)
 com.intellij.bigdatatools.rfs (233.14475.28)
 com.intellij.bigdatatools.metastore.core (233.13135.65)
 com.intellij.bigdatatools.flink (233.13135.103)
 com.intellij.bigdatatools.spark (233.13135.103)
 org.sonarlint.idea (
 com.intellij.bigdatatools.kafka (233.13135.103)
 com.firsttimeinforever.intellij.pdf.viewer.intellij-pdf-viewer (0.15.0)
 com.intellij.plugins.html.instantEditing (233.13135.65)
 com.jetbrains.plugins.jade (233.11799.172)
 com.jetbrains.php (233.14475.35)
 com.niclas-van-eyk.laravel-make-integration (2.3.5)
 com.jetbrains.twig (233.14475.38)
 com.jetbrains.php.wordPress (233.14475.35)
 de.espend.idea.php.annotation (9.4.0)
 fr.adrienbrault.idea.symfony2plugin (2022.1.263)
 com.github.dinbtechit.vscodetheme (1.10.10)
 com.jetbrains.php.blade (233.14475.35)
 izhangzhihao.rainbow.brackets (2024.2.1)
 pro.bashsupport (
 org.jetbrains.plugins.phpstorm-remote-interpreter (233.11799.172)
 org.jetbrains.plugins.phpstorm-docker (233.13135.67)
 ru.adelf.idea.dotenv (2024.1)
 com.laravel_idea.plugin (
 io.snyk.snyk-intellij-plugin (2.7.4)
 org.intellij.scala (2023.3.27)
 aws.toolkit (2.8-233)
 com.intellij.bigdatatools.zeppelin (233.13135.65)
 com.intellij.bigdatatools (233.13135.65)
Kotlin: 233.14475.28-IJ



Hi Edward,
Does it help if you disable the 'Package Search' bundled plugin and restart the IDE? Could be https://youtrack.jetbrains.com/issue/IDEA-346825
If not, please provide IDE logs for analysis (entire archive): Help | Collect Logs and Diagnostic Data. I will look for exceptions and check your system environment settings and selected IDE VM options.

I updated the Package Search bundled plugin first, as it appeared to need an update, then restarted IntelliJ. It appears to have been resolved for the moment. I will continue to monitor and see if this addresses the issue. Thank you for your follow-up.

No problem Edward. Yes, updating the plugin to the latest version is also the right call since the fix has just been released.
Let me know if the issue resurfaces.

I had the same issue on Windows 11. For me, invalidating caches and restart, with all clearing options enabled solved the problem.
Build #IU-241.13688.18, built on February 21, 2024

Runtime version: 17.0.10+8-b1207.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.


Hi there,

I still have the Problem and I am working on Windows 10/11 with JDK 17/21 and the newest build (Version: 2023.3.4 Build: 233.14475.28). Problem is there is no Package Search Plugin which can be disabled. The PC does not have direct access to the internet (Proxy). Also cleaning cache does not seem to have any effect because if doing so it must be restarted and that does not work because IDE gets stuck on closing Project… 
Sole solution so far is to kill the thread via TaskManager. Also if I have two IntelliJ windows open the other one is stuck then as well. How can I provide debug data?



Hi Matt.

Does the problem go away if you disable all of the non-bundled plugins and restart the IDE? File | Settings | Plugins | ⚙ | Disable all downloaded plugins

See if it helps to re-generate project configuration settings:

  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

If it doesn't help, please collect IDE logs via Help | Collect Logs and Diagnostic Data and upload the entire archive to https://uploads.jetbrains.com. We will analyze the hanging threads and look for concurrent exceptions.


I uploaded the logs (Upload ID: 2024_03_20_xeaPJfpfwYL497kXDUSCT7) the problem still persists or was gone away only temporarily.