How to fix NullPointerException: Property value cannot be null (dimval.display_name)
When running endeca baseline update , you can get following exception :
ERROR [stderr] (index-/atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin) Exception in thread “index-/atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin” java.lang.NullPointerException: Property value cannot be null (dimval.display_name)
This can happen for either one of the following 2 reasons :
1) This error is due to a bug in Oracle commerce. There is a patch available with oracle commerce. Consult them and get the patch
2) This apparently indicates that one or more of the item-descriptor tags in customCatalog.xml (in the ATG project) are missing display-name attributes. (Note that some item-descriptor tags – particularly, the OOTB ones – inherit a display-name via the xml-combine=”append” attribute value.)
Another symptom of this: In Dyn Admin, RepositoryTypeDimensionExporter component, under “show XML”, one of the dimval.display_name entries in the XML shown has an empty PVAL.