Cannot read property 'componentConfig' of undefined | Community
Skip to main content
kishore_polsani
Level 4
June 26, 2017
Solved

Cannot read property 'componentConfig' of undefined

  • June 26, 2017
  • 5 replies
  • 6026 views

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)

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 kishore_polsani

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

5 replies

kishore_polsani
Level 4
June 27, 2017

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

kishore_polsani
kishore_polsaniAuthorAccepted solution
Level 4
June 27, 2017

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

VeenaVikraman
Community Advisor
Community Advisor
June 27, 2017

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

kishore_polsani
Level 4
June 28, 2017

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

kautuk_sahni
Community Manager
Community Manager
September 19, 2017
Kautuk Sahni