-
Notifications
You must be signed in to change notification settings - Fork 5
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 'forEach' of null #94
Comments
A duplicate error report was linked to this issue (link) |
@mszylkowski Could you take a look at this? It seems like the |
Ok so quick update: I was able to repro the bug, essentially when |
Seems like there was a try/catch that was catching this error before the change in #34466, even though the comments on the try/catch don't reflect the reasons why it was try/catching it. It was removed since the comment on those lines were fixed, but this brought the edge-case back, and since the try/catch was removed, they started surfacing. We can re-introduce this try-catch and prevent these errors from surfacing, which is ok since the story is not initialized when the An alternative is to change the behavior of |
Thanks for taking care of this! |
Details
Error report: link
First seen: Apr 25, 2019
Frequency: ~ 67/day
Stacktrace
Notes
@renovate-bot
modifiedextensions/amp-animation/0.1/runners/native-web-animation-runner.js:122-122
in #27350 (Mar 30, 2020)@mszylkowski
modifiedextensions/amp-story/1.0/animation.js:398-398
in #34466 (Jul 2, 2021)@renovate-bot
modifiedextensions/amp-story/1.0/animation.js:624-624
in #27350 (Mar 30, 2020)@renovate-bot
modifiedextensions/amp-story/1.0/animation.js:624-624
in #27350 (Mar 30, 2020)@erwinmombay
modifiedsrc/core/data-structures/observable.js:78-78
in #4249 (Sep 9, 2016)@gmajoulet
modifiedextensions/amp-story/1.0/amp-story-store-service.js:573-587
in #13997 (Mar 15, 2018)Seen in:
/cc @ampproject/release-on-duty
The text was updated successfully, but these errors were encountered: