Object reference not set to an instance of an object.
Hello,
When viewing a page that is using the categories control and browsing by category the above error is throwen. Here are the exact steps to reproduce the issue:
1. Add a category or create a new one
2. Drag the categories control into a new or existing page
3. View the page now in the browser
4. Click on the category and you will see the error.
Here is the full stack trace:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Sitefinity.Web.UrlEvaluation.TaxonomyEvaluator.Evaluate(String url, Guid& taxon, Type contentType) +614 Telerik.Sitefinity.Web.UrlEvaluation.TaxonomyEvaluator.Evaluate(String url, String propertyName, Type contentType, Object[]& values) +91 Telerik.Sitefinity.Web.UrlEvaluation.UrlEvaluator.EvaluateUrl(Control control, String evaluatorName, String propertyName, Type contentType, Object[]& values) +153 Telerik.Sitefinity.Web.UrlEvaluation.UrlEvaluator.EvaluateUrl(Control control, IQueryable`1 query, String evaluatorName, String propertyName, Type contentType) +64 Telerik.Sitefinity.Modules.News.Web.UI.MasterListView.InitializeControls(GenericContainer container, IContentViewDefinition definition) +381 Telerik.Sitefinity.Web.UI.ContentUI.Views.Backend.ViewBase.CreateChildControls() +74 System.Web.UI.Control.EnsureChildControls() +145 System.Web.UI.Control.PreRenderRecursiveInternal() +70 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Control.PreRenderRecursiveInternal() +238 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3531 |
Hello Sonu Kapoor,
I tried to reproduce this issue with the BETA and I did not face any null reference exception. Please take a look at attached video.
Kind regards,
Ivan Dimitrov
the Telerik team