mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
[251631] NullPointerException in SystemTempFileListener
This commit is contained in:
parent
a9d3159e1e
commit
2095797a08
1 changed files with 5 additions and 2 deletions
|
@ -156,11 +156,14 @@ public abstract class SystemTempFileListener implements IResourceChangeListener
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (file.isLinked(IResource.CHECK_ANCESTORS)){
|
IPath location = file.getLocation();
|
||||||
|
|
||||||
|
if (location == null){
|
||||||
|
// linked into remote file system -- ignore in tempfile listener
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
String path = file.getLocation().toString().toLowerCase();
|
String path = location.toString().toLowerCase();
|
||||||
|
|
||||||
for (int i = 0; i < _ignoredFiles.size(); i++)
|
for (int i = 0; i < _ignoredFiles.size(); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue