Getting an exception I have no idea what so ever, how to handle...
Hibernate version:
1.2.0.beta1
Code between sessionFactory.openSession() and session.close():
It gets thrown here:
Code:
factory = config.BuildSessionFactory();
Full stack trace of any exception that occurs:Code:
[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) +121
NHibernate.Bytecode.Lightweight.ReflectionOptimizer.GenerateSetPropertyValuesMethod(IGetter[] getters, ISetter[] setters) +742
NHibernate.Bytecode.Lightweight.ReflectionOptimizer..ctor(Type mappedType, IGetter[] getters, ISetter[] setters) +154
NHibernate.Bytecode.Lightweight.BytecodeProviderImpl.GetReflectionOptimizer(Type mappedClass, IGetter[] getters, ISetter[] setters) +67
NHibernate.Persister.Entity.AbstractEntityPersister..ctor(PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory) +5669
NHibernate.Persister.Entity.SingleTableEntityPersister..ctor(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping) +151
NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping cfg) +154
NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings) +1164
NHibernate.Cfg.Configuration.BuildSessionFactory() +126
_Default.GetEntries() in d:\WD\Experimentum\Default.aspx.cs:39
_Default.btnListEntries_Click(Object sender, EventArgs e) in d:\WD\Experimentum\Default.aspx.cs:90
Name and version of the database you are using:
MySQL 5.0.16-nt-max
The generated SQL (show_sql=true):
I have no idea how to get this SQL, even if the show_sql=true in the config file.
Debug level Hibernate log excerpt:
Nor how I get this. How do I get the log?