Community
Participate
Working Groups
Build Identifier: Version: 3.7.1 Build id: M20110909-1335 While the indexer is running, delete a file which the indexer is about to parse. No error should be reported in the error log. The parser should just ignore the missing file. Reproducible: Always Steps to Reproduce: 1. Create a project with a source file 2. Start Indexer 3. Remove the file while the indexer is running 4. Error will be reported, when the file can not be found anymore
org.eclipse.core.internal.resources.ResourceException: Resource '/xx/test.c' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194) at org.eclipse.core.internal.resources.File.getContents(File.java:287) at org.eclipse.cdt.internal.core.parser.InternalParserUtil.createWorkspaceFileContent(InternalParserUtil.java:157) at org.eclipse.cdt.core.parser.FileContent.create(FileContent.java:83) at org.eclipse.cdt.core.parser.FileContent.create(FileContent.java:67) at org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.getCodeReader(ProjectIndexerInputAdapter.java:296) at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseFile(AbstractIndexerTask.java:873) at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(AbstractIndexerTask.java:741) at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractIndexerTask.java:371) at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.run(PDOMIndexerTask.java:127) at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:137) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
*** This bug has been marked as a duplicate of bug 352952 ***