Getting Internal Server Error while pages are rendering | Community
Skip to main content
GK-007
Level 9
May 27, 2016

Getting Internal Server Error while pages are rendering

  • May 27, 2016
  • 2 replies
  • 1394 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
May 27, 2016

Ate the pages rendering or not rendering.

GK-007
GK-007Author
Level 9
May 27, 2016

Pages are not rendering at all.

Attached error screenshot.

Thanks,

Kishore

GK-007
GK-007Author
Level 9
June 7, 2016

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