Hi,
I'm trying to create a new folder for my project to create editable templates but its always throwing an error. I'm getting this in error.log. I'm using 6.3. Has anyone seen such an error?
22.02.2018 19:55:10.276 *ERROR* [0:0:0:0:0:0:0:1 [1519309510272] POST /libs/wcm/core/content/sites/createtemplatewizard/_jcr_content HTTP/1.1] com.day.cq.wcm.core.impl.servlets.CreateTemplateServlet Unable to create template
java.lang.NullPointerException: null
at com.day.cq.wcm.core.impl.servlets.CreateTemplateServlet.doPost(CreateTemplateServlet.java:95)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:378)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:192)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:159)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375)
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190)
Views
Replies
Total Likes
Where are you trying to create a folder?
Views
Replies
Total Likes
vitis90, it looks to me like you are using the Template console (http://localhost:4502/libs/wcm/core/content/sites/templates.html) that we use for creating templates and not "FOLDERS". Folders for hosting Editable Templates need to be created from CRXDE Lite and grant proper permissions.
Now, going back to your question, the error message states "com.day.cq.wcm.core.impl.servlets.CreateTemplateServlet Unable to create template java.lang.NullPointerException: null", which suggests to me that some values are missing; it's like you didn't provide proper name for the Editable Template or may you are logged with a user other than "admin" and don't have permissions to write to selected folder.
We need more information as to what steps you're taking that result in that error.
Views
Replies
Total Likes
To work with editable templates -- see this article - it walks you through everything to be successful:
Creating an Adobe Experience Manager project using Lazybones
You will create a template like:
Views
Replies
Total Likes
Views
Likes
Replies