Jahia in English > TemplateNotFoundException

0 (0 Good)
0 (0 Bad)

TemplateNotFoundException

by  mholmberg »  2013/08/22 13:13

Hello,
 
I have yet another problem with jahia. I am migrating my working site from Jahia Community Edition to Jahia Enterprise Edition. I am having now a problem with the news component. I am able to create the news but when I try to click on the link I get a 404 error. From the logs I get
 
ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa, primaryNodeTypeName='jnt:news', templateType='html', template='null', configuration='page'} -> org.jahia.services.render.TemplateNotFoundException: default
2013-08-22 15:10:47,720: INFO  [Render] - Rendered [/cms/render/default/sv_SE/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa.html] user=[root] ip=[x.x.x.x] sessionID=[4DAAAEDD82029DD8981AC8DEFA15AB0E] in [14ms]
2013-08-22 15:10:47,721: WARN  [ErrorLoggingFilter] - [Error code: 404]: Requested resource is not available: /cms/render/default/sv_SE/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa.html
 
and then a java exception error
 
2013-08-22 14:54:01,802: ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa, primaryNodeTypeName='jnt:news', templateType='html', template='null', configuration='gwt'} -> org.jahia.services.render.TemplateNotFoundException: default
2013-08-22 14:54:01,803: ERROR [TemplateHelper] - org.jahia.services.render.TemplateNotFoundException: default
org.jahia.services.render.filter.RenderFilterException: org.jahia.services.render.TemplateNotFoundException: default
at org.jahia.services.render.filter.RenderChain.doFilter(RenderChain.java:180)
at org.jahia.services.render.RenderService.render(RenderService.java:168)
 
I just can not understand where the error comes from and how to fix it.
 
thanks
  • TemplateNotFoundException
    2013/08/22 13:13

    mholmberg <div> Hello,</div> <div> &nbsp;</div> <div> I have yet another problem with jahia. I am migrating my working site from Jahia Community Edition to Jahia Enterprise Edition. I am having now a problem with the news component. I am able to create the news but when I try to click on the link I get a 404 error. From the logs I get</div> <div> &nbsp;</div> <div> <div> ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa, primaryNodeTypeName=&#39;jnt:news&#39;, templateType=&#39;html&#39;, template=&#39;null&#39;, configuration=&#39;page&#39;} -&gt; org.jahia.services.render.TemplateNotFoundException: default</div> <div> 2013-08-22 15:10:47,720: INFO &nbsp;[Render] - Rendered [/cms/render/default/sv_SE/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa.html] user=[root] ip=[x.x.x.x] sessionID=[4DAAAEDD82029DD8981AC8DEFA15AB0E] in [14ms]</div> <div> 2013-08-22 15:10:47,721: WARN &nbsp;[ErrorLoggingFilter] - [Error code: 404]: Requested resource is not available: /cms/render/default/sv_SE/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa.html</div> <div> &nbsp;</div> <div> and then a java exception error</div> </div> <div> &nbsp;</div> <div> 2013-08-22 14:54:01,802: ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/information/home/nyheter/pagecontent/nyhetsmapp/en-viktig-nyhet-som-ska-visas-pa, primaryNodeTypeName=&#39;jnt:news&#39;, templateType=&#39;html&#39;, template=&#39;null&#39;, configuration=&#39;gwt&#39;} -&gt; org.jahia.services.render.TemplateNotFoundException: default</div> <div> 2013-08-22 14:54:01,803: ERROR [TemplateHelper] - org.jahia.services.render.TemplateNotFoundException: default</div> <div> org.jahia.services.render.filter.RenderFilterException: org.jahia.services.render.TemplateNotFoundException: default</div> <div> at org.jahia.services.render.filter.RenderChain.doFilter(RenderChain.java:180)</div> <div> at org.jahia.services.render.RenderService.render(RenderService.java:168)</div> <div> &nbsp;</div> <div> I just can not understand where the error comes from and how to fix it.</div> <div> &nbsp;</div> <div> thanks</div>

  • Number of messages  22
    Registration date Aug 22, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: TemplateNotFoundException

    by  dgriffon »  2013/08/22 14:33

    Hello,

    It seems that the template to display the news cannot be found.

    Can you check that the news module has been deployed on your web project ? 

    Best regards,

    David Griffon

    David Griffon (dgriffon)

    Number of messages  76
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: TemplateNotFoundException

    by  mholmberg »  2013/08/23 08:02

    Hello dgriffon,

    you were right, apparently the module was not deployed for the site, though I had had it previously deployed. Thanks very much for your answer

     

    Best

    Maria

  • Re: Re: TemplateNotFoundException
    2013/08/23 08:02

    mholmberg <p> Hello dgriffon,</p> <p> you were right, apparently the module was not deployed for the site, though I had had it previously deployed. Thanks very much for your answer</p> <p> &nbsp;</p> <p> Best</p> <p> Maria</p>

  • Number of messages  22
    Registration date Aug 23, 2013
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page