mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -172,7 +172,7 @@ public class ActionsTreeUtil {
|
||||
else if (action instanceof Separator) {
|
||||
group.addSeparator();
|
||||
}
|
||||
else {
|
||||
else if (action != null) {
|
||||
String id = action instanceof ActionStub ? ((ActionStub)action).getId() : actionManager.getId(action);
|
||||
if (id != null) {
|
||||
if (id.startsWith(TOOL_ACTION_PREFIX)) continue;
|
||||
|
||||
Reference in New Issue
Block a user