FileCachedData (@NotNull IndexedFile file) { if (mySubIndexerRetriever != null) { try { IndexerIdHolder holder = ProgressManager.getInstance() .computeInNonCancelableSection(() -> new IndexerIdHolder(mySubIndexerRetriever.getFileIndexerId(file))); LOG.assertTrue(holder != null, "getFileIndexMetaData() shouldn't have returned null in " + getClass() + ", " + myIndexId.getName()); return (FileCachedData)holder; } catch (IOException e) { LOG.error(e); // Index would be rebuilt, and exception would be logged with INFO severity // in com.intellij.util.indexing.FileBasedIndexImpl.requestIndexRebuildOnException throw new RuntimeException(e); } } return null; }