Loading annotations is stuck

已回答

Background task of 'Loading Annotations' is stuck, also stopping this background task gets stuck (attached 2 snips)

IntelliJ IDEA 2022.3.3 (Ultimate Edition)

Build #IU-223.8836.41, built on March 10, 2023

Runtime version: 17.0.6+1-b653.34 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

1

Could you please try to invalidate caches and restart your IDE? (File > Invalidate Caches.. > Invalidate Caches and Restart)

If that doesn't help - please capture 3-5 thread dumps (via jstack) while the 'Loading Annotations' background process is running for a long time.

Also, please provide your IDE logs (Help > Collect Logs and Diagnostic Data). You can upload the zip file here: https://uploads.jetbrains.com, and provide the uploaded file ID.

2

I had the same issue, invalidating caches and restarting resolved it for me. Thanks Ivan!

2

请先登录再写评论。