Solution Scheduled
Commerce / B2C Commerce
NullPointerException is occasionally thrown when accessing a ProductList attribute via lib_productlist
Summary
A NullPointerException may occur when accessing an attribute of a ProductList object through the lib_productlist cartridge.
https://github.com/SalesforceCommerceCloud/lib_productlist/blob/master/cartridges/lib_productlist/cartridge/models/productList.js
This is caused by an issue in the underlying implementation of the platform's ProductList object.
Example error messages include:
- com.demandware.core.script.capi.ScriptingException: Wrapped java.lang.NullPointerException (lib_productlist/cartridge/models/productList.js#23)
- com.demandware.core.script.capi.ScriptingException: Wrapped java.lang.NullPointerException: Cannot invoke "com.demandware.kernel.spring.BeanRef.get()" because "this.customerMgr" is null
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Scheduled with 1 report
Nov 30, 2026