Client Context - Profile Data error | Community
Skip to main content
October 16, 2015
Solved

Client Context - Profile Data error

  • October 16, 2015
  • 4 replies
  • 940 views

Hey guys, 

i'm getting an error on my publisher, when i try to add the Profile Data component to the Client Context Default configuration

[img]2015-08-20_14-06-03.png[/img]

The error:

20.08.2015 11:50:05.505 *ERROR* [GET /etc/clientcontext/default/content/jcr%3acontent/stores.init.js HTTP/1.1] libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/profiledata
org.apache.sling.api.SlingException: Error during include.
        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:203)
        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:252)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
        at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:136)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)
        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:322)
        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216)
        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103)
        at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:431)
        at org.apache.jsp.libs.cq.personalization.components.clientcontextdesigner.parsys.init_js_jsp._jspService(init_js_jsp.java:204)
        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:281)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:102)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:524)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361) 
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:533)

 

If i delete the Profile Data from the client context, the error disappear. But i need to add the Profile Data.

any idea?

thanks in advance 

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

Hi Victor,

 Not sure editing "etc/clientcontext/default/content.html" is the right way to go, have you reviewed the articles on customising the client context[1][2][3].

Regards,

Opkar

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html

[2] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

[3] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

4 replies

Employee
October 16, 2015

Hi,

do you mean your author instance? Are you following a specific guide on how to set this up? What version of AEM are you using?

Regards,

Opkar

October 16, 2015

Opkar Gill wrote...

Hi,

do you mean your author instance? Are you following a specific guide on how to set this up? What version of AEM are you using?

Regards,

Opkar

 

Hi Opkar Gill, thanks for the reply!

I'm editing "etc/clientcontext/default/content.html" on my author instance. Then, i activate the changes on this page to the publisher instance. Here, in the publisher is where i'm seeing the errors.

The errors appeared with the "out-of-the-box" default configuration, so i tried to fix the errors by deleting the Profile Data and adding it again. But the errors continued.

I'm using AEM 6 SP2

 

Regards,

Victor

ogillAccepted solution
Employee
October 16, 2015

Hi Victor,

 Not sure editing "etc/clientcontext/default/content.html" is the right way to go, have you reviewed the articles on customising the client context[1][2][3].

Regards,

Opkar

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html

[2] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

[3] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

October 16, 2015

Opkar Gill wrote...

Hi Victor,

 Not sure editing "etc/clientcontext/default/content.html" is the right way to go, have you reviewed the articles on customising the client context[1][2][3].

Regards,

Opkar

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html

[2] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

[3] http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/

 

Thanks, Opkar! Yes i was reading the first document, and on it is where talk about the components on the Sidekick and client context edition.

[img]2015-08-20_19-23-47.png[/img]