Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

ERROR: while opening page editor "Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined"

Avatar

Level 2

i'm getting error on browser console while opening any editor page on my AEM 6.5. these error got me while workflow part on touch ui. In that workflow used OR split step branches i checked as default route and synced it. after that i got these error

 

"core.js:647 Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined
at eval (eval at ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:272:94), <anonymous>:1:14)"

at Object.ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:272:94)
at Object.ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/sites/page.js:1836:396)
at String.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:322:300)
at Function.each (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:377:19)
at constructor._loadConfig (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:321:230)
at constructor.updateConfig (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:323:6)
at Object.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:922:131)
at fire (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3233:31)
at Object.fireWith [as resolveWith] (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3363:7)
(anonymous) @ core.js:647
20Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

 

 

i got these error  for every editor page on AEM 6.5.

Capture.PNG

 

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

( http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html)

 

Any other alternative solutions please?

 

 

3 Replies