Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ freezes on "Gradle: Importing maven repository data" after sync #21

Open
martinbonnin opened this issue Mar 19, 2024 · 2 comments

Comments

@martinbonnin
Copy link

Follow up from https://youtrack.jetbrains.com/issue/KTIJ-19271/IntelliJ-freezes-on-Gradle-Importing-maven-repository-data-after-sync. After a Gradle Sync, IntelliJ stays stuck on "Importing maven repository data" for several seconds/minutes.

It turns out it seems to be stuck in ManLibraryChecker.getManifoldJarsInProject (thread dump)

Environment:

IntelliJ IDEA 2023.3.5 (Community Edition)
Build #IC-233.14808.21, built on March 12, 2024
Runtime version: 17.0.10+1-b1087.21 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
  debugger.mayBringFrameToFrontOnBreakpoint=false
  debugger.new.tool.window.layout=true
  ide.experimental.ui=true
Non-Bundled Plugins:
  org.intellij.plugins.hcl (233.13135.65)
  idea.plugin.protoeditor (233.14808.14)
  manifold.ij (2023.3.20)
  com.intellij.lang.jsgraphql (233.14808.14)
  org.jetbrains.amper (233.14475.9)
  org.asciidoctor.intellij.asciidoc (0.41.9)
  kotest-plugin-intellij (1.3.74-IC-2023.3)
  org.jetbrains.android (233.14808.21)
  mobi.hsz.idea.gitignore (4.5.2)
Kotlin: 233.14808.21-IJ
@rsmckinney
Copy link
Member

Hi @martinbonnin. Is IJ freezing/hanging with this? Manifold is calling an IJ API that should not hang. Is this happening consistently? Is there any way I can access your project to debug this? Thanks!

@martinbonnin
Copy link
Author

It's freezing for several seconds. I've seen up to a couple of minutes on my laptop. I don't have a minimal reproducer unfortunately but it happened quite consistently with https://github.com/apollographql/apollo-kotlin/ and https://github.com/ktorio/ktor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants