Intellij IDEA freezes when indexing.

Issue #2327 resolved
Олександр Пігарев created an issue

When I start IDEA it is running the last project. If I catch pausing the indexing process IDEA is clickable if not - it is fully frozen.

Comments (10)

  1. Scott Wells repo owner

    Hi. I apologize for the issue. Can you please ensure that your software is fully up-to-date and, if the problem is reproducible, please use Help > Collect Logs and Diagnostic Data immediately after killing/restarting the IDE process to gather diagnostic information and provide that for review. It should contain process thread dumps showing the frozen state.

  2. Олександр Пігарев reporter

    Hi. No worries. I try to figure out how to use this Bitbucket )))), I have never used before.
    So, when I start the “Collecting logs” operation it can not stop. Above the archive of files from the crashed session. If I need to give you more information let me know.

  3. Scott Wells repo owner

    Thank you. Those thread dumps seem to indicate that it’s trying to check the license status using the third-party licensing software:

    "AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 runnable
         java.lang.Thread.State: RUNNABLE
     (in native)
        at com.sun.jna.Native.invokeInt(Native Method)
        at com.sun.jna.Function.invoke(Function.java:426)
        at com.sun.jna.Function.invoke(Function.java:361)
        at com.sun.jna.Library$Handler.invoke(Library.java:265)
        at com.wyday.turboactivate.$Proxy98.TA_IsGenuineEx(Unknown Source)
        at com.wyday.turboactivate.TurboActivate.IsGenuine(SourceFile:743)
        at com.illuminatedcloud.intellij.license.LicenseValidator.lambda$isLicensed$4(SourceFile:538)
        at com.illuminatedcloud.intellij.license.LicenseValidator$$Lambda$4217/0x0000000802584000.compute(Unknown Source)
        at com.illuminatedcloud.intellij.license.LicenseValidator.runWithTurboActivate(SourceFile:316)
        at com.illuminatedcloud.intellij.license.LicenseValidator.isLicensed(SourceFile:537)
        at com.illuminatedcloud.intellij.license.LicenseValidator.validateLicense(SourceFile:469)
        at com.illuminatedcloud.intellij.license.LicenseValidator.validateLicense(SourceFile:464)
        at com.illuminatedcloud.intellij.license.ValidateLicense.lambda$runActivity$2(SourceFile:27)
        at com.illuminatedcloud.intellij.license.ValidateLicense$$Lambda$4216/0x00000008025619b8.run(Unknown Source)
    

    That should be a nearly instantaneous call, so it’s very odd that it’s blocking. Can you confirm the version of Illuminated Cloud 2 that you have installed, and if it’s not the absolute latest, please upgrade and see whether this problem still occurs? Similar with the version of the underlying JetBrains IDE. Please provide those exact versions if you don’t mind.

    Also, is this a new/changed behavior? If so, were there any changes to your machine, network, etc., around the time it started happening?

  4. Олександр Пігарев reporter

    Hi. I’ve noticed this behavior after having restarted my laptop. But it was not restarted for over one week before. Intellij IDEA and Illuma (Illuminated Cloud) have the latest versions. If to disable all plugins and leave only Illuma I have the same issue, but if disable only Illuma - IDE works correctly, that’s why I made the decision that the problem is here.

  5. Scott Wells repo owner

    Hi. Apologies if there was a misunderstanding. I’m not questioning whether you’re a licensed user, just noting that the only thread in those thread dumps in IC2 code is in that third-party license check which should be a nearly instantaneous action.

    Can you please provide the exact version numbers of both IC2 and IntelliJ IDEA that you have installed? I’ll also shoot a note to the licensing software vendor to ask why that call might not return immediately. It’s not something I’ve ever seen before, and it’s curious that this only started after restarting your laptop. Can you also specify the host operating system as I’m sure they’ll ask that as well?

  6. Олександр Пігарев reporter

    I am so sorry, you were right. I had to update the Intellij IDEA. Early I clicked on update button and it shown me that something downloaded, then I restarted IDE, but now I noticed that new version not installed, so I decided to download manually from web page, download new version and reinsall IDE and it works. Thanks a million that wasted your time to investigate this issue.

  7. Scott Wells repo owner

    Not a problem at all! I'm glad it's resolved for you...at least for now. If you do see it happen again, don't hesitate to let me know.

  8. Log in to comment