Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 Error: Cannot read property '__AMP_TOP' of null #30856

Closed
ampprojectbot opened this issue Oct 25, 2020 · 2 comments
Closed

🚨 Error: Cannot read property '__AMP_TOP' of null #30856

ampprojectbot opened this issue Oct 25, 2020 · 2 comments
Labels
Type: Error Report An error reported by AMP Error Reporting

Comments

@ampprojectbot
Copy link
Member

Details

Error report: link
First seen: Oct 15, 2020
Frequency: ~ 1,031/day

Stacktrace

Error: Cannot read property '__AMP_TOP' of null
    at win (src/service.js:285:9)
    at getTopWindow (src/service.js:159:8)
    at getService (src/service.js:338:62)
    at getAmpdoc (src/service.js:224:17)
    at getServiceForDocOrNull (src/service.js:70:9)
    at Services (extensions/amp-analytics/0.1/cookie-writer.js:54:34)
    at extensions/amp-analytics/0.1/amp-analytics.js:244:15

Notes

@cramforce modified src/service.js:285-285 in #23767 (Aug 7, 2019)
@choumx modified src/service.js:153-162 in #10131 (Jun 28, 2017)
@rsimha modified src/service.js:338-341 in #21212 (May 16, 2019)
@dvoytenko modified src/service.js:223-224 in #30634 (Oct 15, 2020)
@dvoytenko modified src/service.js:70-70 in #30634 (Oct 15, 2020)
@zhouyx modified extensions/amp-analytics/0.1/cookie-writer.js:40-55 in #18406 (Sep 28, 2018)
@rsimha modified extensions/amp-analytics/0.1/amp-analytics.js:244-253 in #21212 (May 16, 2019)

Seen in:

  • 10-16 Beta (2313+2)
  • 10-16 Experiment-A (2313+2)
  • 10-16 Experimental (2313+2)
  • 10-22 Nightly (2244)
  • +2 more

Possible assignees: @dvoytenko, @cramforce

/cc @ampproject/release-on-duty

@ampprojectbot ampprojectbot added the Type: Error Report An error reported by AMP Error Reporting label Oct 25, 2020
@samouri
Copy link
Member

samouri commented Feb 19, 2021

@rcebulko: is it ok to close bugs like this in which the link no longer points to a valid error?
Same with #30855

@rcebulko
Copy link
Contributor

See #30945 (comment) for general guidance.

In this case, there are numerous variants of this error message (incl. #28264 and ampproject/error-reporting#50) so it's being tracked elsewhere. Should be safe to close.

@samouri samouri closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Error Report An error reported by AMP Error Reporting
Projects
None yet
Development

No branches or pull requests

3 participants