Developer forum

Forum » CMS - Standard features » Exception in GroupNavigationProvider

Exception in GroupNavigationProvider

Søren Heide Larsen
Søren Heide Larsen
Reply

Hi,

We sporadically experience the exception below, which ruins the main page. The exception happens when navigation is trying to run through the groups set up on a specific page. It happens rarely but when it happens it is critical (2 times today). The error also seems to persist, so my guess this is something that is cached wrong.

Anybody else experienced this?

System.NullReferenceException: Object reference not set to an instance of an object.  at Dynamicweb.Ecommerce.Frontend.NavigationProviders.GroupNavigationProvider.MakeGroupTree(Page page, NavigationItem parentNode, Boolean applyStartAndEndLevelToNavigation) in \Dynamicweb.Ecommerce\Frontend\NavigationProviders\GroupNavigationProvider.vb:line 293
   at Dynamicweb.Ecommerce.Frontend.NavigationProviders.GroupNavigationProvider.Process(NavigationItem node, Boolean applyStartAndEndLevelToNavigation) in \Dynamicweb.Ecommerce\Frontend\NavigationProviders\GroupNavigationProvider.vb:line 245
   at Dynamicweb.Ecommerce.Frontend.NavigationProviders.GroupNavigationProvider.ProcessTree(RootNavigationItem rootNode, NavigationType navigationType) in \Dynamicweb.Ecommerce\Frontend\NavigationProviders\GroupNavigationProvider.vb:line 201
   at Dynamicweb.Frontend.XmlNavigation.MakeXml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, Int32 selectedAreaId) in \Dynamicweb\Frontend\XmlNavigation.vb:line 448
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, String name, String xsltPath, Int32 selectedAreaId, Boolean sitemapMode, NameValueCollection settings, NameValueCollection attributes, IncludeMode mode) in \Dynamicweb\Frontend\XmlNavigation.vb:line 902
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(NameValueCollection settings, NameValueCollection attributes) in \Dynamicweb\Frontend\XmlNavigation.vb:line 1003
   at Dynamicweb.Rendering.TemplateBase`1.RenderNavigation(Object settings) in \Dynamicweb\Rendering\TemplateBase.vb:line 190

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Søren

Thank you for the talk and the help on this one.

TFS#42868, now comitted and out with next hotfix of 9.3

BR Nicolai

Votes for this answer: 1
 
Søren Heide Larsen
Søren Heide Larsen
Reply

Any time  :)

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Søren

The problem TFS#42868 "Productsandgrouphandler optimisation" has now been fixed in version 9.3.9

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum