cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT

sgomes
Champ in-the-making
Champ in-the-making
People p = new People();
String g = "myGroup";
Node grupo = p.getGroup(g);
Node[] no = p.getMembers(grupo);

java.lang.NullPointerException

why?
1 REPLY 1

davidc
Star Contributor
Star Contributor
people is root level built-in…

try

String g = "myGroup";
Node grupo = people.getGroup(g);
Node[] no = people.getMembers(grupo);

Also ensure grupo resolves to a group.