Exception in template (\Designs\XLEidsvoll\Paragraph\ShowNews.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.eafcaafdddac.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@using XLEidsvoll.News; @using System.Web; @{ var newsUrl = HttpContext.Current.Request.QueryString["url"]; var news = NewsRepository.GetNews(newsUrl); Dynamicweb.Frontend.PageView.Current().Meta.Title = news.Title; } <div class="row"> &nbsp; </div> <div class="row"> <div class="col-md-12 newsarticle"> @news.Html </div> </div>