Fix NPE with non-resolved fields
@@ -101,6 +101,8 @@ public class ContextMenus {
return null;
}
FieldNode node = ClassUtil.getField(reader, SKIP, name, desc);
+ if(node == null)
+ return null;
int access = node.access;
// Create header
MenuItem header = new MenuItem(name);
