the only thing, from the top of my head, that comes to mind would be that it;s a threading issue -one thread returns commission steps, while an other one adds some more between the calls to array.Length and array.Copy
2010/3/31 Jan Limpens <[email protected]>: > never had that one before and I cannot reproduce it, so maybe somebody can > give me a hint on what to look for... > > [ArgumentException: Source array was not long enough. Check srcIndex and > length, and the array's lower bounds.] > > System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array > destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0 > System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex) +25 > > Castle.Core.LifecycleStepCollection.GetCommissionSteps() +95 > > Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyCommissionConcerns(Object > instance) +83 > > Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext > context) +82 > > > Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext > context) +47 > > Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext > context) +46 > Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext > context, Boolean track) +212 > > Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext > context) +401 > Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type > service, IDictionary additionalArguments) +174 > Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type > service) +47 > > Castle.MicroKernel.DefaultKernel.get_Item(Type service) +245 > Castle.MicroKernel.DefaultKernel.Resolve(Type service) +118 > > Castle.MonoRail.WindsorExtension.WindsorControllerFactory.CreateController(Type > controllerType) +46 > > > Castle.MonoRail.WindsorExtension.WindsorControllerFactory.CreateController(String > area, String controller) +301 > > Castle.MonoRail.Framework.MonoRailHttpHandlerFactory.GetHandler(HttpContext > context, String requestType, String url, String pathTranslated) +691 > > > [MonoRailException: Error creating controller Css] > > Castle.MonoRail.Framework.MonoRailHttpHandlerFactory.GetHandler(HttpContext > context, String requestType, String url, String pathTranslated) +1077 > System.Web.HttpApplication.MapHttpHandler(HttpContext context, String > requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) > +193 > > > System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() > +93 > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& > completedSynchronously) +155 > > > > -- > Jan > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" 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-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" 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-users?hl=en.
