Highlighted

Livefyre is not working on AEM 6.4

prince233

20-08-2019

We have migrated from AEM 6.2 to AEM 6.4 and upgraded LiveFyre packages as per Adobe's documentation.
It's working as expected on Author environment but I see issues on Publisher environments. Where ever we use LiveFyre comments the entire page is broken and does not show any content on the page. I don't see any errors in the browser console

Do we need to install any service packs for livefyre?

Here are the Error logs
.

at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponent.getNetwork(LivefyreComponent.java:519)

at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponent.<init>(LivefyreComponent.java:102)

at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponentFactory.getSocialComponent(LivefyreComponentFactory.java:60)

at com.adobe.cq.social.handlebars.HandlebarsScriptingEngineFactory.getSocialComponentForResource(HandlebarsScriptingEngineFactory.java:272)

at com.adobe.cq.social.handlebars.HandlebarsScriptingEngine.eval(HandlebarsScriptingEngine.java:130)

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)

... 231 common frames omitted

Replies

Highlighted

shunnar

Employee

20-08-2019

Please paste the beginning and end of the error to show the exception.

Also, is there a "Caused by" later in the error?

Highlighted

prince233

20-08-2019

20.08.2019 21:29:11.120 *ERROR* [10.96.194.187 [1566336551002] GET /content/adp/en_ca/test-components/components/general/comments.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.scripting.ScriptEvaluationException:
        at com.adobe.cq.sightly.WCMScriptHelper.includeResource(WCMScriptHelper.java:184)
        at com.adobe.cq.sightly.internal.extensions.ResourceExtension.call(ResourceExtension.java:139)
        at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:69)
        at org.apache.sling.scripting.sightly.apps.adp.components.page.generic.body_html.render(body_html.java:44)
        at org.apache.sling.scripting.sightly.java.compiler.RenderUnit.render(RenderUnit.java:48)
        at org.apache.sling.scripting.sightly.impl.engine.SightlyCompiledScript.eval(SightlyCompiledScript.java:61)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:386)
        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.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:178)
        at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:95)


Caused by: org.apache.sling.api.scripting.ScriptEvaluationException:
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:416)
        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 org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)


Caused by: org.apache.sling.api.SlingException:
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:608)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:533)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:346)


Caused by: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: null
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:510)
        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82)
        at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72)
        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138)


Caused by: java.lang.NullPointerException: null
        at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponent.getNetwork(LivefyreComponent.java:519)
        at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponent.<init>(LivefyreComponent.java:102)
        at com.adobe.social.integrations.livefyre.component.impl.LivefyreComponentFactory.getSocialComponent(LivefyreComponentFactory.java:60)
        at com.adobe.cq.social.handlebars.HandlebarsScriptingEngineFactory.getSocialComponentForResource(HandlebarsScriptingEngineFactory.java:272)
        at com.adobe.cq.social.handlebars.HandlebarsScriptingEngine.eval(HandlebarsScriptingEngine.java:130)
        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)
        ... 231 common frames omitted