Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Uncaught TypeError: Cannot read property 'userID' of null

Avatar

Level 1

I have the issue in AEM 6.1 touch UI. The page reports this error:

Uncaught TypeError: Cannot read property 'userID' of null

and

Uncaught TypeError: Cannot read property 'shared' of undefined

Annotation doesn't work. Lock feature works but Unlock doesn't work.

Please help!!!

Thanks a lot

5 Replies

Avatar

Community Advisor

Hit same rock, has anyone found solution to this?

Thanks,

Peter

Avatar

Level 5
Level 5

Vuong Ho wrote...

I have the issue in AEM 6.1 touch UI. The page reports this error:

Uncaught TypeError: Cannot read property 'userID' of null

and

Uncaught TypeError: Cannot read property 'shared' of undefined

Annotation doesn't work. Lock feature works but Unlock doesn't work.

Please help!!!

Thanks a lot

 

Can you provide what are the steps you have performed for this, and what is the user (what are the permissions the user has) you are using for this activity.?

~VAr

Avatar

Community Advisor

Create new custom template, do not include <sly data-sly-resource="${'clickstreamcloud" @ resourceType='cq/personalization/components/clickstreamcloud'/> and you get this error. Then editor.js get's the exception mentioned in the comment as $('iframe#ContentFrame').get(0).contentWindow.CQ.shared.User.data.userID is null indeeed.

Regards,

Peter

Avatar

Level 2

Encountered the same issue! Were you able to fix it?