Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
IllegalStateException while indexing #593
Steps to Reproduce
The .gitignore file in the project contained the following:
An exception occurred.
Reproduces how often:
Actually it seems to be happening a lot, it's just not always showing up with the alert in the IDE. I've attached
The same issue occurs on Linux Ubuntu.
I wonder whether this is a bug or a feature... but either way it's quite annoying as every time I update my project dependencies, which contain .ignore files that I don't even want this plugin to analyse (and I actually have marked those directories as 'Excluded'), it immediately generates this exception and asks me to restart the IDE.
This also started happening to me recently.
Same problem here, Linux Mint 19.2, existing intellij gradle project:
The issue was caused by some indices incompatibility between old and new plugin versions. Likely, Invalidating caches via FIle - Invalidate Caches /Restart should help.
6fc1461 adds some checks to avoid the exception. The fix will be included into the next plugin update.