void () { Runnable callCleanupWorker = () -> { if (myProject.isDisposed()) return; new CleanupWorker(this, emptyList()) { @Override protected void fillRoots() { for (WCInfo info : getAllWcInfos()) { if (WorkingCopyFormat.ONE_DOT_SEVEN.equals(info.getFormat())) { VirtualFile file = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(info.getRootInfo().getIoFile()); if (file == null) { LOG.info("Wasn't able to find virtual file for wc root: " + info.getPath()); } else { myRoots.add(file); } } } } }.execute(); }; getSvnFileUrlMappingImpl().scheduleRefresh(() -> ApplicationManager.getApplication().invokeLater(callCleanupWorker)); }