Error with blogs and news
Hi, I created a blog and news. After I include blog posts or news posts in a page I get:
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Sitefinity.Web.Utilities.ClientResourceManager.GetExternalResourcePath(String resourceName, Boolean isStatic, Page page) +142
Telerik.Sitefinity.Web.UI.ResourceLinks.RegisterResource(ResourceFile resource) +248
Telerik.Sitefinity.Web.UI.ResourceLinks.OnInit(EventArgs e) +478
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
System.Web.UI.ControlCollection.Add(Control child) +80
Telerik.Sitefinity.Web.UI.ContentUI.Views.Backend.ViewBase.CreateChildControls() +93
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Please help me with that..
Hi Peppi Alexandrova,
Thank you for using our services.
Can you please elaborate a little bit more on the situation where you get this error? Are you using a custom template for your pages? Have you modified the news and blog controls in any way - create a class which inherits from the default ones for example? I am unable to reproduce this issue with the stock templates and controls.
Regards,
Radoslav Georgiev
the Telerik team