mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correctly handle incorrect configuration when loading descriptors for a facet (EA-69155)
This commit is contained in:
@@ -121,6 +121,7 @@ public class ConfigFileInfoSetImpl implements ConfigFileInfoSet {
|
||||
final ConfigFileMetaData metaData = myMetaDataProvider.findMetaData(id);
|
||||
if (metaData != null) {
|
||||
final String url = child.getAttributeValue(URL_ATTRIBUTE);
|
||||
if (url == null) throw new InvalidDataException(URL_ATTRIBUTE + " attribute not specified for " + id + " descriptor");
|
||||
myConfigFiles.put(metaData, new ConfigFileInfo(metaData, url));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user