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



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

Reply via email to