Expand my Community achievements bar.

SOLVED

Cannot read property 'componentConfig' of undefined

Avatar

Level 4

Hi All,

I am working on Touch UI (AEM 6.1) and facing below issues.

  1. I don't see the components on the left rail though I have added the components from design mode. I am dragging and dropping the component from classic ui. I found in forum that there is cache issue in touch ui. Cannot find my components in touch ui sideline. I could see this error on page load /libs/wcm/core/content/components.1498484847911.html?_=1498484940719 500 (Server Error)
  2. When I tried to author the touch ui dialog and click on save, I don't see page is refreshed and authoring changes are not reflected. I see below JS error in browser console.

Error:

Uncaught TypeError: Cannot read property 'componentConfig' of undefined

    at f (editor.min.js:4355)

    at Object.<anonymous> (editor.min.js:4578)

    at i (jquery.min.js:784)

    at Object.fireWith [as resolveWith] (jquery.min.js:820)

    at cf (jquery.min.js:2421)

    at XMLHttpRequest.i (jquery.min.js:2519)

1 Accepted Solution

Avatar

Correct answer by
Level 4

I found the issue, when I tried accessing url [1], its throwing toomanycalls excpetion. I have increased "sling.max.calls" value in Apache Sling Main Servlet OSGI config, default value is 1500. I have increased value to 2000. Now I could see components in left side rail

[1] - http://localhost:4502/libs/wcm/core/content/components.1498583387463.html?_=1498583378895

View solution in original post

5 Replies

Avatar

Level 4

I found a post for this issue, but no luck. My component is not in .hidden group. http://aempodcast.com/2015/htl/aem-sightly-touch-ui-tips/#.WVHEoFV97IV

Avatar

Correct answer by
Level 4

I found the issue, when I tried accessing url [1], its throwing toomanycalls excpetion. I have increased "sling.max.calls" value in Apache Sling Main Servlet OSGI config, default value is 1500. I have increased value to 2000. Now I could see components in left side rail

[1] - http://localhost:4502/libs/wcm/core/content/components.1498583387463.html?_=1498583378895

Avatar

Community Advisor

Just to confirm, is this a fresh installation ? Can you try reinstalling your AEM and see if you still face the same issue ?

Thanks

Veena

Avatar

Level 4

This is not a fresh installation, I faced that issue in DEV and QA too.