Fixed. Thanks, Oliver!

Regards,
Peter 

> -----Original Message-----
> From: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 14, 2003 14:15
> To: Slide Developers Mailing List
> Subject: Bug in ACLSecurityImpl?
> 
> 
> Hi Peter, hi all,
> 
> In method getActionMembers aNrd.getProperty("privilege-member-set") 
> might return null if it is configured as empty in Domain.xml. This 
> causes a NPE when you try to access it. I am not sure, but 
> this might be 
> caused by the JDOM implmentation I use, even though it is the 
> one from 
> the CVS.
> 
> If this is a real bug the obvious fix would be to have it like this:
> 
> NodeProperty membersProp = aNrd.getProperty("privilege-member-set");
> if (membersProp != null) {
> ...
> }
> return result;
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to