ValidationInfo () { GithubTagInfo tag = myReloadableComboBoxPanel.getSelectedValue(); if (tag != null) { return null; } String errorMessage = StringUtil.notNullize(myReloadableComboBoxPanel.getErrorComponent().getText()); if (errorMessage.isEmpty()) { errorMessage = IdeBundle.message("github.project.generator.versions.not.loaded.error"); } return new ValidationInfo(errorMessage); }