hi, (as explained in the title), I have a mail view that hosts a viewcomponent. The viewcomponent has troubles accessing the parameters passed to it. It fails on Brailbase line 365 (probably somewhere beyond that, but I did not find a way to enter brail assemblies with the debugger).
Right after correctly passing along those params, I get a MonoRailException Message: Exception on process view: mail\Info Last accessed variable: isWeb StackTrace: at Castle.MonoRail.Views.Brail.BooViewEngine.HandleException(String templateName, BrailBase view, Exception e) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Views.Brail\BooViewEngine.cs:line 289 at Castle.MonoRail.Views.Brail.BooViewEngine.RenderView(String templateName, BrailBase view) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Views.Brail\BooViewEngine.cs:line 165 at Castle.MonoRail.Views.Brail.BooViewEngine.Process(String templateName, TextWriter output, IEngineContext context, IController controller, IControllerContext controllerContext) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Views.Brail\BooViewEngine.cs:line 146 at Castle.MonoRail.Views.Brail.BooViewEngine.Process(String templateName, String layoutName, TextWriter output, IDictionary`2 parameters) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Views.Brail\BooViewEngine.cs:line 197 at Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process(String templateName, String layoutName, TextWriter output, IDictionary`2 parameters) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Framework\Services\DefaultViewEngineManager.cs:line 179 at Castle.MonoRail.Framework.EmailTemplateService.RenderMailMessage(String templateName, String layoutName, IDictionary parameters) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Framework\Services\EmailTemplateService.cs:line 140 at Castle.MonoRail.Framework.Controller.RenderMailMessage(String templateName, String layoutName, IDictionary parameters) in c:\data\castle\castle\trunk\Mon .... Inner exception: NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at BrailView_Info.Run() at Castle.MonoRail.Views.Brail.BooViewEngine.RenderView(String templateName, BrailBase view) in c:\data\castle\castle\trunk\MonoRail\Castle.MonoRail.Views.Brail\BooViewEngine.cs:line 161 I created an empty component, which does nothing and needs no params. It also fails the same way. If I look into the Generated_Code folder, I can see no trace of my components, as well. If I visit regular pages, those dlls are being generated. Anyone got an idea what could be wrong? -- Jan ___________________ [EMAIL PROTECTED] www.limpens.com +55 (11) 3082-1087 +55 (11) 3097-8339 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
