From: Kal A. <ka...@te...> - 2006-02-13 20:30:25
|
Hi Thomas, It's a bug - I see you have already provided a bug report and patch. I'll validate the patch and get the changes into CVS as soon as I can - probably tomorrow. Thanks! Kal > -----Original Message----- > From: tm4...@li... [mailto:tm4j-users- > ad...@li...] On Behalf Of Thomas Much > Sent: 13 February 2006 16:56 > To: tm4...@li... > Subject: [TM4J-users] getMembersOfRole crashes with NPE > > Hi, > > the in-memory AssociationImpl.getMembersOfRole crashes with a > NullPointerException if I pass null as an argument (i.e. I want to lookup > the members *without* a role). > > IMHO the null argument is ok, since Member.getRoleSpec returns null for > members without a role type. > > If this works as intended and is not considered a bug, is there an easy > way > to lookup the members with no type? > > Otherwise, I'll log a bug (and provide a patch). > > bye, Thomas > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > |