Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

cannot render resource SyntheticResource,

sreedobe
Level 4
Level 4

I have jsp based components on AEM 6.5, which have <cq:include> to resourceType that exists in code.

 

I am not sure why I am seeing in error logs. any suggestions, why this could happen, I know , it is a content node that does not exist, as path="fakepath" , resourceType="path to component" .

org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource SyntheticResource,

 Could not find much help on "synthertic resource" Thanks.

1 Accepted Solution
Vaibhavi
Correct answer by
Community Advisor
Community Advisor
3 Replies
Vaibhavi
Correct answer by
Community Advisor
Community Advisor
vanegi
Employee
Employee

Hi @sreedobe,

This error occurs when the node in the /content tree does not have a resourceType property. Or the resourceType does not exist. 

 

Quick checkpoint:-

~ Check Sling GET servlet configurtaion at http://<host>:<port>/system/console/configMgr/org.apache.sling.servlets.get.DefaultGetServlet

Make sure that Enable JSON and Enable XML are selected

 

More information is shared in https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/no-renderer-for-extension-...

 

Thanks!!

ChitraMadan
Community Advisor
Community Advisor

Hi @sreedobe ,

 

I encountered the same logs and the reason found was there was a resource which was getting included from the templatepage and which did not exist.

Something like below:

templatepage/body.jsp

<body
<cq:include script="version.jsp" />
</body>
version.jsp
<cq:include path="version" resourceType="/apps/sampleapp/components/version" />  -  Non existent resource
So all the pages using this template was throwing this error - org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource SyntheticResource
I would suggest to find the references of problematic resource, it must be getting included from somwhere with <cq:include>