Expand my Community achievements bar.

Issue with context hub in AEM 6.5

Avatar

Level 4

Hi All,

I am trying to use content hub for my website. The context hub throws below error while loading the page in the debugger console and causing issues.

Screenshot 2020-05-11 at 20.21.40.png

contexthub:473 Store "granite.emulators" ( ƒ (b,a){this.config=g.extend(!0,{},l,a);a=this.getSupportedEmulators();g.extend(!0,this.config,{initialValues:{devices:a,currentDeviceId:a[0].id,
orientations:[{id:"landscape",title:"Landscape"},{id:"p… ) could not be initialized: TypeError: Cannot read property '3' of null
at contexthub:420
at Array.map (<anonymous>)
at Object.parseMediaRule (contexthub:420)
at e._getRules (contexthub:414)
at new e (contexthub:412)
at new e (contexthub:427)
at Object.<anonymous> (contexthub:473)
at Function.each (contexthub:48)
at contexthub:473
at contexthub:474
(anonymous) @ contexthub:473
each @ contexthub:48
(anonymous) @ contexthub:473
(anonymous) @ contexthub:474

 

Has anyone faced this issue and how to solve this issue?

@Vish_dhaliwal 

3 Replies

Avatar

Level 4

Hello, @subrato_kha 
I'm not sure that it can be the issue but just try if you haven't tried it yet:
1)The solution provided here - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cq-is-not-defined-in-lt-di...
2)Check permissions of contexthub-conf-reader user in /useradmin console. It can be that this user doesn't have access to, e.g. /conf folder.

Thanks.

Avatar

Level 4
adding read permission to the contexthub-conf-reader user didn't helped

Avatar

Level 5

Hi @subrato_kha I am also seeing the same issue. Could you let us know if any fix works for you?