Can you provide a demo app or a test case that I can use. It looks like it may be a NVelocity issue, however it is difficult to confirm with a stack trace without line numbers.
On Wed, Jul 15, 2009 at 1:07 AM, [email protected] < [email protected]> wrote: > > Hello, > > I have an application that manage some catalogs.. In order to achive > this I use scaffolding > The problem is that it is generating this exception: > > Cannot convert an object of type 'System.Collections.ArrayList' to > 'System.Collections.Generic.List`1[System.String]'. > > StackTrace > > [InvalidCastException: Cannot convert an object of type > 'System.Collections.ArrayList' to 'System.Collections.Generic.List`1 > [System.String]'. > Commons.Collections.ExtendedProperties.GetStringList(String key) > +85 > NVelocity.Runtime.Resource.Loader.AssemblyResourceLoader.Init > (ExtendedProperties configuration) +48 > NVelocity.Runtime.Resource.ResourceManagerImpl.Initialize > (IRuntimeServices rs) +420 > NVelocity.Runtime.RuntimeInstance.initializeResourceManager() +428 > NVelocity.Runtime.RuntimeInstance.Init() +101 > NVelocity.Runtime.RuntimeInstance.Init(ExtendedProperties p) +66 > NVelocity.App.VelocityEngine.Init(ExtendedProperties p) +42 > > > Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.NVelocityTemplateEngine.BeginInit > () +1070 > > > Castle.MonoRail.ActiveRecordSupport.Scaffold.ScaffoldingSupport.InitializeTemplateEngine > () +99 > > Castle.MonoRail.ActiveRecordSupport.Scaffold.ScaffoldingSupport.Process > (IEngineContext context, IController controller, IControllerContext > controllerContext) +95 > Castle.MonoRail.Framework.Controller.ProcessScaffoldIfAvailable() > +169 > Castle.MonoRail.Framework.Controller.PrepareToExecuteAction > (IEngineContext engineContext, IControllerContext context) +108 > Castle.MonoRail.Framework.Controller.Process(IEngineContext > engineContext, IControllerContext context) +40 > Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext > context) +150 > > [MonoRailException: Error processing MonoRail request. Action list on > controller operator] > Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext > context) +444 > Castle.MonoRail.Framework.BaseHttpHandler.ProcessRequest > (HttpContext context) +36 > > > System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute > () +181 > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, > Boolean& completedSynchronously) +75 > > > > > > -- Jono --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
