From: NHibernate J. <mik...@us...> - 2006-10-26 06:01:34
|
ArgumentNullException: Value cannot be null. Reflection exception. ------------------------------------------------------------------ Key: NH-777 URL: http://jira.nhibernate.org/browse/NH-777 Project: NHibernate Type: Bug Components: Reflection Optimizer Versions: 1.2.0.Beta1 Reporter: Henrik Feldt Attachments: Business Entities.rar Problem loading and using mapping files - Reflection error. Stack trace: [ArgumentNullException: Value cannot be null. Parameter name: methodInfo] System.Reflection.Emit.DynamicILGenerator.EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) +1607931 NHibernate.Property.BasicSetter.Emit(ILGenerator il) +111 NHibernate.Bytecode.Lightweight.ReflectionOptimizer.GenerateSetPropertyValuesMethod(IGetter[] getters, ISetter[] setters) +726 NHibernate.Bytecode.Lightweight.ReflectionOptimizer..ctor(Type mappedType, IGetter[] getters, ISetter[] setters) +146 NHibernate.Bytecode.Lightweight.BytecodeProviderImpl.GetReflectionOptimizer(Type mappedClass, IGetter[] getters, ISetter[] setters) +55 NHibernate.Persister.Entity.AbstractEntityPersister..ctor(PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory) +6110 NHibernate.Persister.Entity.SingleTableEntityPersister..ctor(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping) +173 NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping cfg) +145 NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings) +1316 NHibernate.Cfg.Configuration.BuildSessionFactory() +111 _Default.GetEntries() in d:\Default.aspx.cs:39 _Default.btnListEntries_Click(Object sender, EventArgs e) in d:\Default.aspx.cs:90 Environment: Windows XP SP2, IIS 5.0, Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |