Community
Participate
Working Groups
Using HEAD. Here's scenario to get this exception: 1) Check-out one project from CVS (org.eclipse.ui.workbench in my sample) 2) When check-out is done close the project. 3) Now reopen it and delete it *immediately* 4) Look at console, you get lot of FNFE display in it: ... java.io.FileNotFoundException: D:\usr\OTI\workspaces\tests\search\Search15\org.eclipse.ui.workbench\Eclipse UI\org\eclipse\ui\internal\PageSelectionService.java (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.eclipse.jdt.internal.compiler.util.Util.getFileCharContent(Util.java:69) at org.eclipse.jdt.internal.core.search.JavaSearchDocument.getCharContents(JavaSearchDocument.java:53) at org.eclipse.jdt.internal.core.search.indexing.SourceIndexer.indexDocument(SourceIndexer.java:73) at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.indexDocument(JavaSearchParticipant.java:72) at org.eclipse.jdt.internal.core.search.indexing.IndexManager.indexDocument(IndexManager.java:289) at org.eclipse.jdt.internal.core.search.indexing.IndexManager$1.execute(IndexManager.java:599) at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:369) at java.lang.Thread.run(Thread.java:534) ...
Did you have verbose mode on? This is the code for JavaSearchDocument.getCharContents() public char[] getCharContents() { if (this.charContents != null) return this.charContents; try { return Util.getFileCharContent(getLocation().toFile(), getEncoding()); } catch (IOException e) { if (BasicSearchEngine.VERBOSE || JobManager.VERBOSE) { e.printStackTrace(); } return null; } }
Yes, I did... Sorry
*** Bug 93241 has been marked as a duplicate of this bug. ***