4 Replies Latest reply on Jan 29, 2013 4:35 PM by Sham HC

    Error:  No renderer for extension png

    ltemplincg2

      content is not appearing in the publish instance. The Publish error.log has this message for all the resources

      Here's a snippet of the error log

       

      /content/asthmastudy/en/welcome.navimage.png HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension png, cannot render resource JcrNodeResource, type=gskstudy/components/page/contentpage, superType=null, path=/content/asthmastudy/en/welcome/jcr:content

      29.01.2013 10:33:22.752 *ERROR* [10.10.0.14 [1359473602752] GET /content/asthmastudy/en/about.navimage.png HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension png, cannot render resource JcrNodeResource, type=gskstudy/components/page/contentpage, superType=null, path=/content/asthmastudy/en/about/jcr:content

      29.01.2013 10:33:22.752 *ERROR* [10.10.0.14 [1359473602752] GET /content/asthmastudy/en/participants.navimage.png HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension png, cannot render resource JcrNodeResource, type=gskstudy/components/page/contentpage, superType=null, path=/content/asthmastudy/en/participants/jcr:content

      29.01.2013 10:33:22.752 *ERROR* [10.10.0.14 [1359473602752] GET /content/asthmastudy/en/locations.navimage.png HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension png, cannot render resource JcrNodeResource, type=gskstudy/components/page/contentpage, superType=null, path=/content/asthmastudy/en/locations/jcr:content

      29.01.2013 10:33:22.752 *ERROR* [10.10.0.14 [1359473602752] GET /content/asthmastudy/en/aboutdisease.navimage

       

      I've activated a numbe of branches on the tree to the publish instance.

       

      What would cause this error to appear?

       

      ltemplin

        • 1. Re: Error:  No renderer for extension png
          Yogesh Upadhyay Level 4

          ltemplin,

           

          Make sure that /libs/foundation/components/primary/cq/Page/Page.png.jsp exist and there is no override which might break it.

           

          Yogesh

          • 2. Re: Error:  No renderer for extension png
            ltemplincg2 Level 1

            There's nothing overriding it but when activating that branch - /libs/foundation/components/primary/cq/Page a error appears - NullPointerException and the branch fails to activate. The error log starts with:

            at org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp$Processor.process(P OST_jsp.java:172)

                      at org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp$Processor.process(P OST_jsp.java:284)

                      at org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp$Processor.process(P OST_jsp.java:284)

                      at org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp$Processor.process(P OST_jsp.java:142)

                      at org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp._jspService(POST_js p.java:473)

                      at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                      at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419) and continues from there for another 60 lines

             

            I'm using CQ 5.4, Java version 1.6.0_34-b04

             

            Luke

            • 3. Re: Error:  No renderer for extension png
              Yogesh Upadhyay Level 4

              Sorry did not read first line "content is not appearing in the publish instance. " before replying. Can you send caused by section of stack trace ? Make sure that publish instance replication agent is confured correctly by going to /etc/replication and test connection for your publish instance replication agent.

               

              Yogesh

              • 4. Re: Error:  No renderer for extension png
                Sham HC Level 7

                Make sure custom selector component "navimage" is installed up and running.  Also the path of image is not in dam the default BinaryProviderServlet does not get picked up.  Seems like issue to custom implementation. Verify your settings.