mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +02:00
check the existence of the file first.
This commit is contained in:
parent
d2195ebf5d
commit
942b757516
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ public class ErrorParserManager extends OutputStream {
|
|||
else {
|
||||
path = (IPath) getWorkingDirectory().append(filePath);
|
||||
}
|
||||
return (IFile) fProject.getFile(path);
|
||||
IFile file = fProject.getFile(path);
|
||||
return (file.exists()) ? file : null;
|
||||
}
|
||||
|
||||
protected class Problem {
|
||||
|
|
Loading…
Add table
Reference in a new issue