Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

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

1 Reply

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