If you can reproduce it in a way that points to some reasonable bug in Windsor or elsewhere...

I looked at it when Henrik originally reported it but other than "that's bizarre it can't be happening" I didn't find any good explanation for that.

Krzysztof

On 16/06/2011 8:47 AM, Berke Sokhan wrote:
Any news on this one? I am getting it too.

Without a resolution to this, whole new Castle.Facilities.AutoTx / Castle.Services.Transactions / Castle.Facilities.NHibernate trilogy become useless :(

2011/5/6 Henrik <[email protected] <mailto:[email protected]>>

    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]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:castle-project-devel%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/castle-project-devel?hl=en.




--
Berke SOKHAN.

http://twitter.com/berkesokhan
http://blog.berkesokhan.com
http://www.birliktegelistir.com/editors.aspx
--
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.

--
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.

Reply via email to