Expand my Community achievements bar.

Getting Internal Server Error while pages are rendering

Avatar

Level 9

Hi All,

Recently we have upgrade from AEM 6 SP3 to AEM 6.2,i see below error in the error.log

26.05.2016 01:07:32.874 *ERROR* [0:0:0:0:0:0:0:1 [1464205052539] GET /content/www/global/en/footerlinks1/test.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.SightlyException: Required script resource could not be located: stats.js. The caller is /apps/xxx/dm/components/pages/xxxpage/head.html
    at org.apache.sling.scripting.sightly.js.impl.Utils.getScriptResource(Utils.java:64)
    at org.apache.sling.scripting.sightly.js.impl.JsUseProvider.provide(JsUseProvider.java:91)
    at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:84)
    at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:66)
    at org.apache.sling.scripting.sightly.apps.dcom.dm.components.pages.dcompage.SightlyJava_head.render(SightlyJava_head.java:51)
    at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderUnit.render(RenderUnit.java:54)
    at org.apache.sling.scripting.sightly.impl.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:92)
    at org.apache.sling.scripting.sightly.impl.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:78)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491)
    at com.adobe.cq.sightly.WCMScriptHelper.includeScript(WCMScriptHelper.java:208)
    at com.adobe.cq.sightly.internal.extensions.IncludeExtension.call(IncludeExtension.java:70)
    at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:66)

Is any one come across this kind of issues or having any idea,please help me.

Thanks,

Kishore

3 Replies

Avatar

Level 10

Ate the pages rendering or not rendering.

Avatar

Level 9

Pages are not rendering at all.

Attached error screenshot.

Thanks,

Kishore

Avatar

Level 9

Looks like stats.js file is not available from AEM 6.1 or 6.2 on wards,we removed code which is inheriting this file.

And we are not seeing this issue,

Thanks,

Kishore