I was wondering if I could get some help debugging this exception?
TearDown : System.NullReferenceException : Object reference not set to
an instance of an object.
at System.Collections.ObjectModel.Collection`1.Add(T item)
at
Castle.Facilities.AutoTx.TxComponentInspector.AddInterceptor(ComponentModel
model)
at
Castle.Facilities.AutoTx.TxComponentInspector.ProcessModel(IKernel
kernel, ComponentModel model)
at
Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder.BuildModel(String
key, Type service, Type classType, IDictionary extendedProperties)
at
Castle.MicroKernel.Registration.ComponentRegistration`1.Castle.MicroKernel.Registration.IRegistration.Register(IKernel
kernel)
at Castle.MicroKernel.DefaultKernel.Register(IRegistration[]
registrations)
at Castle.Windsor.WindsorContainer.Register(IRegistration[]
registrations)
NHibernateFacility_ValidationError_OnSave.cs(75,0): at
Castle.Facilities.NHibernate.Tests.Container..ctor()
NHibernateFacility_ValidationError_OnSave.cs(48,0): at
Castle.Facilities.NHibernate.Tests.NHibernateFacility_ValidationError_OnSave.SetUp()
--TearDown
NHibernateFacility_ValidationError_OnSave.cs(54,0): at
Castle.Facilities.NHibernate.Tests.NHibernateFacility_ValidationError_OnSave.TearDown()
A repro is here:
https://github.com/haf/Castle.Facilities.NHibernate/commit/bc2257cd4e0992f1d2bde70de14da383910927b9
Windsor 2.5.2, 2.5.3 are affected. Not 2.5.1.xxxx
--
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" 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/castle-project-devel?hl=en.