public void init() throws IOException {
        final var menuFile = "ui-initialized-templates/menu.yaml";
        try {
            Reader menuReader = ResourceUtils.read(menuFile);
            Yaml yaml = new Yaml();
            final MenuData menuData = yaml.loadAs(menuReader, MenuData.class);
            if (menuData == null || CollectionUtils.isEmpty(menuData.getMenus())) {
                throw new IllegalArgumentException("cannot reading any menu items.");
            }

            // save menu and start fetch menu
            uiMenuManagementService.saveMenu(menuData.getMenus());
        } catch (FileNotFoundException e) {
            log.debug("No such file of path: {}, skipping loading UI menu.", menuFile);
        }
    }
Initialize the UI menu from files and starting fetch status after menu init finished.
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/management/ui/menu/UIMenuInitializer.java