I am developing an application in that customer can view the profile page by hitting the name after the domain like, example.com/customername
So, i did the custom routing to achieve the desired behavior by referring the url docs.sitefinity.com/for-developers-override-the-default-page-route-handling
It is working fine in firefox. But not in chrome browser
var node = sitemapProvider.FindSiteMapNode("other/page/url", false, out isAdditional, out pars);
if (node != null)
return this.GetRouteDataInternal(pars, httpContext.Request.QueryString, node);
I am getting error in this.GetRouteDataInternal "Object reference not set to an instance of an object."
I am adding this comment to inform that, this issue is not a browser issue.
This issue is happening in every browser in below scenario
If backend user logged in, at that time if you browse the custom routing page you can get this error. Please help on this?