Developer forum

Forum » Ecommerce - Standard features » NullReferenceException edit shop

NullReferenceException edit shop

Martijn van Tongeren
Reply

Hi, 

We want to edit a shop and add new groups but we get a NullReferenceException, path to reproduce: Go to ecommerce -> product catalog -> click right mouse click on the shop -> edit shop. We using the latest 9.5 version. Any idea how to fix this?

This is the error message:

Server Error in '/' Application.


Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 
 

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.


Stack Trace: 
 

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Security.Permissions.PermissionControlledExtension.GetPermission(IPermissionControlled obj) +71
   Dynamicweb.Ecommerce.UserPermissions.EcommercePermissionHelper.GetPermission(IPermissionControlled permissionObject, User user, Boolean checkNoPermissions) +29
   Dynamicweb.Ecommerce.UserPermissions.EcommercePermissionHelper.GetPermission(String id, String objectType, Boolean checkNoPermissions) +49
   Dynamicweb.Ecommerce.Common.eCom7.Functions.ShowBoxLayerStart(String idName, String header, String menuHolder, Renderer`1 languageRenderer, Boolean hideLangSelector, String type) +14732
   Dynamicweb.Admin.eComBackend.EcomShopEdit.SetBoxContent() in E:\Agent\_work\133\s\01 - Applications\Dynamicweb.Admin\DW95\Dynamicweb.Admin\Admin\Module\eCom_Catalog\dw7\edit\EcomShop_Edit.aspx.vb:407
   Dynamicweb.Admin.eComBackend.EcomShopEdit.Page_Load(Object sender, EventArgs e) in E:\Agent\_work\133\s\01 - Applications\Dynamicweb.Admin\DW95\Dynamicweb.Admin\Admin\Module\eCom_Catalog\dw7\edit\EcomShop_Edit.aspx.vb:167
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

Replies

 
Martin Vang
Martin Vang
Reply
This post has been marked as an answer

Hi Martin,

I just tried what you describe without any problems on my end. Please create a support case to let us delve into your specific problem.

BR

Martin

Votes for this answer: 1

 

You must be logged in to post in the forum