Uncaught TypeError: Cannot read property 'userID' of null | Community
Skip to main content
New Participant
Jan 23, 2017 9:23 PM UTC

Uncaught TypeError: Cannot read property 'userID' of null

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

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

5 replies

Level 2
Mar 24, 2017 9:37 PM UTC

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

Translate
Level 2
Mar 28, 2017 11:51 PM UTC
Var
Level 4
Feb 24, 2017 6:20 PM UTC

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

Translate
Peter_Puzanovs
New Participant
Feb 26, 2017 12:25 PM UTC

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

Translate
Peter_Puzanovs
New Participant
Feb 24, 2017 2:36 PM UTC

Hit same rock, has anyone found solution to this?

Thanks,

Peter

Translate