ERROR: while opening page editor "Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined" | Community
Skip to main content
Level 2
August 24, 2021
Question

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

  • August 24, 2021
  • 2 replies
  • 1459 views

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.

 

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?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 2
August 24, 2021

Yes...But, no solution over there @asutosh_jena_ 

Level 2
March 12, 2022

@jsmsrinivas 

Did you find a solution to this issue?

 

I am facing the same issue now.