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!
Solved! Go to Solution.
Views
Replies
Total Likes
if it is upgraded instance OR the page is custom one & not geometrixx . It is due to changed less compilation implementation in CQ5.6 onwards. Validated your .less file and fix import as required. If above does not holds good reach out to official support request.
Views
Replies
Total Likes
What CQ version are you using?
Views
Replies
Total Likes
version 6.1
It happens with both java versions 1.7 and 1.8
Views
Replies
Total Likes
This looks like a bug - it should be compiling. I will pass this by support.
Views
Replies
Total Likes
if it is upgraded instance OR the page is custom one & not geometrixx . It is due to changed less compilation implementation in CQ5.6 onwards. Validated your .less file and fix import as required. If above does not holds good reach out to official support request.
Views
Replies
Total Likes
Hi Scott,
I have encountered similar error . Id there any solution for this.
Regards,
Deepak
Views
Replies
Total Likes
Views
Likes
Replies