CTRL+B not working reliably

Answered

I'm using IntelliJ 2017.2.5 build 172.4343.14 for a Java project. Find usages (CTRL-B) always used to work reliably, until very recently - either the last update or the previous one, not sure. Sometimes usages in the same project are found, sometimes they are not. I checked that the scope was right, and tried removing the cache and letting IntelliJ rebuild it. Still, I get frequent and random failures. Any suggestions?

1
12 comments

Could you please clarify if IDEA doesn't find usages at all or not all usages are found?

0

Please try File | Invalidate Caches | Invalidate and Restart.

1
Avatar
Permanently deleted user

It does not find any usages at all, when I know there are some (so I have been resorting to doing a search instead which is not great).

0

Please file a bug at https://youtrack.jetbrains.com/issues/IDEA and attach a sample project with the steps to reproduce.

0
Avatar
Permanently deleted user

Thank you Serge, as I mentioned in the initial comment, I did invalidate the cache and restarted (I had seen that suggested on another thread), and it didn't make any difference whatsoever.

0
Avatar
Permanently deleted user

I cannot describe the steps to repro, since the issue is frequent but intermittent. I assume that steps such as "Click on CTRL+B often doesn't work" is not much help. Any other information that might actually help?

0
Avatar
Permanently deleted user

Lots of ArtifactResolutionException at least in the most recent logs, but they all seem to refer to libraries outside my project. I can look through the older logs too, anything specific or any exception? I can also look at the most recent entries next time I hit the problem.

 

0

This would be hard to investigate without a reproducible test case.

0
Avatar
Permanently deleted user

I'll open a case with what you ask if I manage to work out how to repro it reliably, or if I see anything interesting in the logs next time this happen; but as a developer I also know that having to deal with intermittent defects without reliable ways of reproducing is part of the job.

0
Avatar
Permanently deleted user

I came across the same problem, i closed the project and cloned it again, this time I imported the project rather than opening it. and I enabled the auto import, this fixed the error to me, hope it helps you out.

0
Avatar
Permanently deleted user

delete below folder will sort out the issue.

.idea

0

Please sign in to leave a comment.