Missing cart contextstore causes ERROR


In AEM6.2, you see this error in the error.log:

08.12.2016 14:22:00.232 *ERROR* [ [1481224920229] GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension js, cannot render resource JcrNodeResource, type=cq/personalization/components/contextstores/cart, superType=null, path=/etc/clientcontext/default/content/jcr:content/stores/cart


The site uses the default clientcontext under /etc/clientcontext/default/content and that clientcontext includes the "cart" store which no longer exists in AEM6.2.


To solve this issue, do the following:

  1. Go to http://host:port/crx/de/index.jsp web app and log in as admin.

  2. Browse to and delete this node /etc/clientcontext/default/content/jcr:content/stores/cart

  3. Click Save All.