Getting error "Cannot read property 'afterContentPaint' of null" when running tests
See original GitHub issueOccasionally on our build server, I get a failing test with the following error: Cannot read property 'afterContentPaint' of null
There are only 2 hits on Google for afterContentPaint
, and one of them is this issue: https://github.com/sreedhar7/ember-app-scheduler/issues/9
This addon seems to be the only thing using that library. Have you ran into this error while using ember-router-scroll
?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:23 (11 by maintainers)
Top Results From Across the Web
Please make sure to add a preprocessor (most likely `ember-cli ...
ember-app-scheduler@0.1.0 has the correct dependencies set, ... Getting error "Cannot read property 'afterContentPaint' of null" when running tests ...
Read more >1358907 - Telemetry shouldn't query the add-ons DB at startup
Telemetry currently makes several calls to getAddonsByTypes during early startup, which causes the add-ons database to be loaded and initialized very early.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe we’re still seeing this, and the root cause is the issue in ember-app-scheduler. If it’s still an issue (and wasn’t fixed by #73), could we have this issue re-opened to make the communication & updates easier to follow?
Nevermind, I got it wrong… I figured out later that this addon uses an old version of
ember-app-scheduler
. PR #73 updates it to the latest version and that fixed the problem for me.