hello
 
can anybody tell me why this gives a nullpointer exception.
the idear is to delete a specific relation:
 
  NodeIterator myIterator=myCloud.getList(
   "varamail",
   "users,rolerel,groups",
   "users.number",
   "users.number='7850'",
   null,null,null,true
  ).nodeIterator();
 
  Node temp;
  while(myIterator.hasNext()){
   temp=myIterator.nextNode().getNodeValue("rolerel");
   temp.delete();
  }
 
somehow i can not get the rolerel node from the clusternode. if i try to get a not-relation node, like users with:
   temp=myIterator.nextNode().getNodeValue("users");
 it works ok. I have been thinking of another way to delete a specific node, but unfortunately the there is no getRelations flavour with a constraints argument...
 
Ernst

 

Reply via email to