mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid NPE when error is already logged
This commit is contained in:
+1
@@ -776,6 +776,7 @@ public final class ActionManagerImpl extends ActionManagerEx implements Disposab
|
||||
|
||||
private void processReferenceNode(final Element element, final PluginId pluginId) {
|
||||
final AnAction action = processReferenceElement(element, pluginId);
|
||||
if (action == null) return;
|
||||
|
||||
for (Element child : element.getChildren()) {
|
||||
if (ADD_TO_GROUP_ELEMENT_NAME.equals(child.getName())) {
|
||||
|
||||
Reference in New Issue
Block a user