Community
Participate
Working Groups
Created attachment 86739 [details] No references (not even myself - the caller). Build ID: I20071213-1700 Steps To Reproduce: More information: Search references (or any kind of Java search) does not work for me when checking thisMethod: XXX.getInstance().thisMethod(). See attached screenshot. Should I have at list one reference call (my self)?
Sounds more like a JDT/Core issue, but I can't reproduce with a simple test case. Can you isolate a simple test case in your workspace which reproduces this problem?
I can't reproduce it myself now (using the same case or a different example). I did restart eclipse since then. BTW, the two sources were located in 2 different src folders.
I also got it once after having created a second source folder and move the class which has the reference. I also close and restart and the problem vanishes. I tried to redo my first steps but always failed to reproduce it... Did you also move the class one source folder to the other one before having noticed this problem?
Actually, yes.
So, it looks like the indexer was not updated while moving the file between the two source folders. But as it's hard to reproduce, it guess it should be a timing issue and then, that will be a little bit tricky to catch it up...
OK, as we cannot reproduce on both sides, I close this bug as WORKSFORME for now. Of course feel free to reopen if you get it again, hopefully with a reproducible test case, thanks
(In reply to comment #3) > I also got it once... Wouldn't that call for another resolution?
After discussing the issue with Frédéric, it occurs that he has made extensive attempts to reproduce the problem, and a single one succeeded (not even the last one). While making this bug a WORKSFORME departs from the 'we could never reproduce it' line, it sounds reasonable to adopt it until we find a more reproductible test case. Verified for 3.4 M5.