Corrupted VFS assertion

This commit is contained in:
Roman Shevchenko
2012-08-20 17:56:57 +04:00
parent 4f5f66866f
commit 541c76280d
@@ -902,6 +902,10 @@ public class PersistentFSImpl extends PersistentFS implements ApplicationCompone
myRootsLock.readLock().unlock();
}
}
else if (parentId == id) {
LOG.error("Corrupted VFS? id=" + id + " name=" + getName(id));
return null;
}
else {
NewVirtualFile parentFile = _findFileById(parentId, cachedOnly);
if (parentFile == null) {