Cannot read property 'getPath' of undefined | Community
Skip to main content
karansheel
Level 3
October 4, 2017
Solved

Cannot read property 'getPath' of undefined

  • October 4, 2017
  • 1 reply
  • 2628 views

Component list is not appearing on page. I have added these components in design mode. still it's not working. below is the error i'm getting while adding components.

Uncaught TypeError: Cannot read property 'getPath' of undefined

    at ns.ui.EditableDragAndDrop.isInsertAllowed (core.js:27946)

    at executeListener (core.js:5866)

    at Object.onEnter [as enter] (core.js:5962)

    at Interaction._execute (core.js:5123)

    at Interaction._onMove (core.js:5375)

    at HTMLDocument.dispatch (jquery.js:4665)

    at HTMLDocument.elemData.handle (jquery.js:4333).

I'm using aem 6.2 service pack1

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 kautuk_sahni

Hi

I also faced this problem some time back.

When I use to double-click on "Drag Component Here" same empty Insert New Component message use to come up.

I would request you to please create a daycare ticket for this.

//This is for all components and these are developed in Classic UI and when we open the same in Touch UI this problem arose.

If this is not the case with you, then try one more thing:-

Change the number of calls per request from 1000 to bigger number in Apache Sling Main Servlet.

Reference Posts:- Touch Components are not being displayed on the page and AEM 6.2: TooManyCallsException

~kautuk

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 4, 2017

Hi

I also faced this problem some time back.

When I use to double-click on "Drag Component Here" same empty Insert New Component message use to come up.

I would request you to please create a daycare ticket for this.

//This is for all components and these are developed in Classic UI and when we open the same in Touch UI this problem arose.

If this is not the case with you, then try one more thing:-

Change the number of calls per request from 1000 to bigger number in Apache Sling Main Servlet.

Reference Posts:- Touch Components are not being displayed on the page and AEM 6.2: TooManyCallsException

~kautuk

Kautuk Sahni