Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Page Editor error : Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined

santhoshsrg
Level 4
Level 4

Hi,

 

When i open my page in edit mode, i am getting the issue as in screenshot. Please provide solution to resolve this issue.

Screenshot 2020-05-09 at 3.33.01 PM.png

1 Accepted Solution
nidhip010816
Correct answer by
Employee
Employee

Hi Santosh,

 

Please try to rebuild the clientlibs by going to the URL[1]

  • First click on Invalidate Cache

 

  • Then click on rebuild clientlibs

Warm Regards,

Nidz


[1] http://<host>:<port>/libs/granite/ui/content/dumplibs.rebuild.html?rebuild=true

View solution in original post

8 Replies
Nirmal_Jose
Community Advisor
Community Advisor

Hi,

 

Can you add some more details.

 

1. Which AEM version ?

2. Did this error happened after any particular action.

 

Core js is the fundamental JS which powers most of the authoring actions. Best options you can try if it just happened is to Invalidate and rebuild your clientlibs from [1]

 

[1] http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html

santhoshsrg
Level 4
Level 4

Thanks @Nirmal_Jose 

 

I am using AEM 6.5

This issue occurs when i build my project.

 

I tried to Invalidate and rebuild clientlibs but this doesn't solve the issue

nidhip010816
Correct answer by
Employee
Employee

Hi Santosh,

 

Please try to rebuild the clientlibs by going to the URL[1]

  • First click on Invalidate Cache

 

  • Then click on rebuild clientlibs

Warm Regards,

Nidz


[1] http://<host>:<port>/libs/granite/ui/content/dumplibs.rebuild.html?rebuild=true

View solution in original post

santhoshsrg
Level 4
Level 4
Thanks @Nirmal_Jose I am using AEM 6.5 This issue occurs when i build my project. I tried to Invalidate and rebuild clientlibs but this doesn't solve the issue
santhoshsrg
Level 4
Level 4

Thanks @nirmaljosehere and @nidhip010816 

 

I am using AEM 6.5

This issue occurs when i build my project.

 

I tried to Invalidate and rebuild clientlibs but this doesn't solve the issue

vibhanshu
Level 1
Level 1
I'm facing same issue. This used to occur only in Chrome and worked well in Firefox. But now, I'm getting different errors in different browsers. Chrome show this error and FIrefox shows: Handler of component is invalid -> @http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js line 272 > eval:1:2 tried rebuilding clientlibs but doesn't works...
vibhanshu
Level 1
Level 1
I'm facing same issue. This used to occur only in Chrome and worked well in Firefox. But now, I'm getting different errors in different browsers. Chrome show this error and FIrefox shows: Handler of component is invalid -> @http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js line 272 > eval:1:2 tried rebuilding clientlibs but doesn't works... I'm on AEM 6.5.6 with project archetype 24
sravani_540
Level 1
Level 1

@santhoshsrg : Hi Santhosh,I too have the same issue,is it resolved for you?