https://bugzilla.novell.com/show_bug.cgi?id=381435
Summary: Castle project (MonoRail and Windsor) stack with 1.9
exceptions
Product: Mono: Runtime
Version: 1.9.0
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: P5 - None
Component: misc
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Third Party Developer/Partner
Description of Problem:
Exception triggered by castle project stack on code that executes successfully
on 1.2.6 (and below) and .net
Steps to reproduce the problem:
1. Configure MonoRail to use "Windsor Integration"
2. Run with xsp2 or mod-mono-server2 (windows or linux)
Actual Results:
Castle.MicroKernel.Handlers.HandlerException: Can't create component
'mr.helperfactory' as it has dependencies to be satisfied.
mr.helperfactory is waiting for the following dependencies:
Keys (components with specific keys)
- kernel which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency
() [0x00000]
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve
(Castle.MicroKernel.CreationContext context) [0x00000]
at Castle.MicroKernel.DefaultKernel.ResolveComponent (IHandler handler,
System.Type service, IDictionary additionalArguments) [0x00000]
at Castle.MicroKernel.DefaultKernel.ResolveComponent (IHandler handler,
System.Type service) [0x00000]
at Castle.MicroKernel.DefaultKernel.get_Item (System.Type service) [0x00000]
at Castle.MicroKernel.DefaultKernel.Resolve (System.Type service) [0x00000]
at Castle.MicroKernel.DefaultKernel.GetService (System.Type serviceType)
[0x00000]
at Castle.Windsor.WindsorContainer.GetService (System.Type serviceType)
[0x00000]
at
Castle.MonoRail.Framework.Container.DefaultMonoRailContainer.UseServicesFromParent
() [0x00000]
at
Castle.MonoRail.Framework.MonoRailHttpHandlerFactory.CreateDefaultMonoRailContainer
(IServiceProviderEx userServiceProvider, System.Web.HttpApplication
appInstance) [0x00000]
at
Castle.MonoRail.Framework.MonoRailHttpHandlerFactory.PerformOneTimeInitializationIfNecessary
(System.Web.HttpContext context) [0x00000]
at Castle.MonoRail.Framework.MonoRailHttpHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String url,
System.String pathTranslated) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x0003c] in
/home/patrick/mono/mono-1.9/mcs/class/System.Web/System.Web/HttpApplication.cs:1249
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x0077a]
in
/home/patrick/mono/mono-1.9/mcs/class/System.Web/System.Web/HttpApplication.cs:942
Expected Results:
No exception
How often does this happen?
Everytime
Additional Information:
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs