Illuminated Cloud causing IntelliJ to freeze
IntelliJ & Illuminated Cloud are unusable.
Open IntelliJ, open Salesforce project, IntelliJ indexes project, type a few characters, IDE freezes and must be force quit.
IntelliJ IDEA 2017.3.2 (Ultimate Edition) Build #IU-173.4127.27, built on December 25, 2017
Comments (15)
-
repo owner -
reporter - attached idea.log.12
Thanks for responding so quickly. Attached the requested log file.
Looks like an infinite loop at com.illuminatedcloud.intellij.psi.impl.ApexInterfaceDeclarationMixin.getAllImplementedTypeDeclarations(SourceFile:153)
-
repo owner Okay, there's a repeated stack overflow in there that I've not seen. If you can, once IntelliJ starts, can you try to do File>Invalidate Caches / Restart>Invalidate & Restart? Once the IDE restarts and caches are rebuild, I'll be interested to know if it still happens. Also, can you verify the version of Illuminated Cloud that you have installed? The log you attached doesn't include the portion where IC writes out its version info.
-
reporter Illuminated cloud 1.8.1.5. I've Invalidated and restarted. Working so far.
-
repo owner Okay. I'll also add some protection against direct or mutual recursion for the next-next build (I'm about to release 1.8.1.6 so it won't go into that). Keep me posted if it recurs, though.
-
reporter - attached idea.log.13
After Invalidate & Restart, same infinite loop & freeze. It worked for a few minutes, but eventually the same result.
-
reporter Do you have a guess as to when 1.8.1.7 might be out.
-
repo owner Okay. Let me see if I can squeeze the prospective fix into the next build. I might post it here for you to verify before uploading the final build. I'll let you know very shortly.
-
repo owner - attached IlluminatedCloud-14.zip
Okay, here's a build with the prospective fix. Can you install it using Preferences>Plugins>Install plugin from disk and see whether it resolves the issue for you or not? Let me know if you have any issues installing it.
-
reporter It's currently installed. I've been able to add a few lines of code and run a few unit tests. Seems promising, I let you know otherwise. Thanks for you quick help!
-
repo owner Good. I've been testing it as well, even forcing an inheritance loop and verifying that it solves that issue. My guess is that this is a workaround for another issue where IC is detecting some kind of mutual inheritance that's not really there. I'm curious to know what that is, but let's make sure this keeps you typing for the moment.
-
repo owner The fix is in the just-uploaded 1.8.1.6, so feel free to take that update. I've also integrated it into IC2 and will include it in the next build.
-
repo owner Note that there is a small issue in 1.8.1.6 that I found with find usages in this scenario. I've fixed it in the upcoming 2.0.0.4 and will include it in 1.8.1.7. However, if you run into it and it causes you issues, I can provide an early build with that part of the fix as well.
-
reporter I'll keep my eye out for it. Thanks for the heads up.
-
repo owner - changed status to resolved
- Log in to comment
Hi, Robert. Sorry for the issue. Can you send me the resulting
idea.log
? The easiest way to get it is to use Help>Show Log in Finder after startup if you can do that before the IDE freezes. If you can't do that, here's how you can find them manually:https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Feel free to support@illuminatedcloud.com the logs if you'd like. Hopefully there will be something obvious in there.