IntelliJ 2016 "Scanning files to index" never ends Follow
When doing plugin development, I have one project that (most of the time) sends IntelliJ into an infinite loop of file indexing. Using the debugger, I can log what's going on in FileBasedIndexImpl.java and I see that it's considering directories multiple times.
I start from a clean sandbox, with only the Build Tools plugins,JUnit, and my own plugins enabled.
The log file shows no errors.
I am using JDK 1.8.0_144 -- I can't use the JRE that ships with IntelliJ because it isn't the full JDK that plugin development requires.
How do I get around this?
Please sign in to leave a comment.
Oh, and the version of IntelliJ I'm using for development is IC-172.4343.14
Report an issue at https://youtrack.jetbrains.com/issues/IDEA with idea.log and the thread dumps attached:
https://intellij-support.jetbrains.com/hc/articles/207241085
https://intellij-support.jetbrains.com/hc/articles/206544899.
It would also help if you could share the sources of your plug-in.
There is already an issue -- https://intellij-support.jetbrains.com/hc/en-us/requests/1113471 -- but he asked me to post here.
I now have a log with thread dumps, will post it on that ticket.
The linked issue is gone (404) and there is no follow-up here.
What is the official solution if "scanning files to index" never seems to finish in the latest (stable || EAP) build (of IntelliJ IDEA Ultimate in my case)? Report another IntelliJ core issue?
Ingo Steinke These problems are unique and can be caused by different things. The link above is to the private support ticket where one of such problems was discussed. The public link to the problem is https://youtrack.jetbrains.com/issue/IDEA-181389 which is no longer actual in the current IDE versions.
If you have a similar issue, please report as described in this post: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000667050/comments/115000548810.