mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-137554 NPE at com.intellij.util.xmlb.MapBinding.deserializeKeyOrValue
This commit is contained in:
@@ -187,7 +187,8 @@ class MapBinding extends Binding implements MultiNodeBinding, MainBinding {
|
||||
}
|
||||
}
|
||||
else {
|
||||
List<Element> children = entry.getChild(attributeName).getChildren();
|
||||
Element entryChild = entry.getChild(attributeName);
|
||||
List<Element> children = entryChild == null ? Collections.<Element>emptyList() : entryChild.getChildren();
|
||||
if (children.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user