file init.js.jsp of Cart Client Context fails to compile
When I use the Client Context in AEM, and when I chack the error logs, I get the following message:
GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/cart org.apache.sling.api.scripting.ScriptEvaluationException: java.lang.NullPointerException
Once I ommiting the code from line #48 untill the end of its block code - the file compoils fine (I checked which lines causing the problem).
Is there any solution for that?
Thanks!