Developer forum

Forum » Ecommerce - Standard features » Error on PIM Product Asset categories

Error on PIM Product Asset categories

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

We are working on solution hosted in Dynamicweb cloud.

The solution is based on DW 9.8.4 and the latest Rapido. Plain Vanilla.
We have tried adding the first products manually and we have stumbled on an error related to PIM Asset Categories:

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.Admin.eComBackend.PimMultiEdit.RenderAssetCategories(Control containerControl, Product product, String imageGroupId, String blockControlId, Boolean blockEnabled) +586
   Dynamicweb.Admin.eComBackend.ProductEdit.AddProductDetailsUI() +1582
   Dynamicweb.Admin.eComBackend.ProductEdit.LoadProductData() +2106
   Dynamicweb.Admin.eComBackend.ProductEdit.Page_Load(Object sender, EventArgs e) +1895
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784

When trying to access the backend section for PIM Asset categories or PIM Completion rules we get another yellow error.

Can somebody advise on the solution to this issue? Is there something missing from the assemblies?

Thank you,
Adrian


Replies

 
Nicolai Pedersen
Reply

Did you change default language?

Then ensure all categories are available in the default language. Refer to this section: https://doc.dynamicweb.com/rapido/introduction/start-up/new-project-on-dw-with-rapido#7924

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

It was a fresh DW install in your Cloud. The setup was just for Content and structure without any products.
And yes, we have changed the default language but I believe we have done it before adding anything.

The problem was solved after adding the license to the solution. Since the license did not include PIM section, probably the whole asset section was ignored.

I will follow your instructions for changing the language for future projects.

Thank you,
Adrian

 

You must be logged in to post in the forum