mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 02:05:39 +02:00
null pointer check
This commit is contained in:
parent
4a7849ceec
commit
51e0afef12
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
|||
for (int i = 0; i < elements.length; i++)
|
||||
{
|
||||
DataElement element = elements[i];
|
||||
if (element != null && !element.isDeleted())
|
||||
if (element != null && !element.isDeleted() && element.getType() != null)
|
||||
{
|
||||
String type = element.getType();
|
||||
// filter files
|
||||
|
|
Loading…
Add table
Reference in a new issue