1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Bug 349744 - NPE in PDOMSearchQuery.

This commit is contained in:
Sergey Prigogin 2011-06-24 19:03:36 -07:00
parent 7170b3a515
commit 64f069c552

View file

@ -380,7 +380,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery {
} else {
for (IIndexName name : bindingNames) {
String fullPath= name.getFile().getLocation().getFullPath();
if (accept(fullPath))
if (fullPath != null && accept(fullPath))
names.add(name);
}
}