Hi, sorry about the cryptic subject, I was just trying to get all the important stuff in there. I have a compiled a copy of rhino security in .net 4.0 and nhiberate 3. I"m also using fluent nhibernate. I have created maps for all six domain objects that have hbm.xml files. When I try to create a UserGroup I get
Collection cannot be null. Parameter name: c after some searching is find this If you’re mapping an <idbag> with <composite-element> in NHibernate 2.1 and are getting an exception similar to this: ... ... See if you’re using System.Collections.Generic.HashSet for your <idbag> field. If so, change the implementation class to System.Collections.Generic.List and that should fix the problem. HashSet is for mapping a <set> semantics, not suitable for an <idbag>. while I don't think RS is doing this exactly I decided to change all the hashsets in UserGroup to Lists. This seems to have worked like a charm. My question is, is this going to come back and bite me in the ass, and does it seriously compromise performance? Thanks, Raif -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
