This is a long shot, I know.
When running 9.14 and older, everything works fine - but when update the same solution to 9.15 or newer, I get an error when trying to create or edit a product. Everything is pretty standard in the solution.
The error I get when trying to create a product, is
[NullReferenceException: Object reference not set to an instance of an object.]
Dynamicweb.Admin.eComBackend.ProductEdit.CurrencySettings() +129
Dynamicweb.Admin.eComBackend.ProductEdit.GetProductData() +113
Dynamicweb.Admin.eComBackend.ProductEdit.Page_Load(Object sender, EventArgs e) +2001
System.Web.UI.Control.OnLoad(EventArgs e) +107
System.Web.UI.Control.LoadRecursive() +89
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1532
I have made shure that Currency settings and all is ok.
Anyone have any suggestions on why this happens, and why there is no problem on all versions from 9.14 and older, but the problem is on all versions newer than 9.15?
When clicking on a product group under eCom, I get this error
[NullReferenceException: Object reference not set to an instance of an object.]
Dynamicweb.Admin.eComBackend._Closure$__221-0._Lambda$__7() +46
Dynamicweb.Admin.eComBackend.ProductList.TryAddColumn(String systemName, Func`1 valueProvider, ListRow row, Dictionary`2 productFields, ListPersonal listPersonal, ProductsData data, ProductListRowData rowData) +167
Dynamicweb.Admin.eComBackend.ProductList.AddRow(Product prod, String groupId, Int32 index, String langId, ProductListRowData rowData, String queryId, Boolean actionsEnabled, ListPersonal listPersonal, ProductsData data, ListRenderingContext renderingContext) +2981
Dynamicweb.Admin.eComBackend.ProductList.LoadData() +548
Dynamicweb.Admin.eComBackend.ProductList.PreRenderList() +155
System.Web.UI.Control.OnPreRender(EventArgs e) +11735855
Dynamicweb.Controls.List.OnPreRender(EventArgs e) +461
System.Web.UI.Control.PreRenderRecursiveInternal() +131
System.Web.UI.Control.PreRenderRecursiveInternal() +226
System.Web.UI.Control.PreRenderRecursiveInternal() +226
System.Web.UI.Control.PreRenderRecursiveInternal() +226
System.Web.UI.Control.PreRenderRecursiveInternal() +226
System.Web.UI.Control.PreRenderRecursiveInternal() +226
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3670
I suspect it has something to do with Product Price, as the error comes immediately when I select the price column in product list. If the Price Column is not selected in product list view, there is no error and I can click on all product groups and see the products in the list. I can´t however click on any product, without getting the first error message. So something with version 9.15 and price is my guess, but I have looked in the database - and all products are set to have a price of 0.
/Hans