question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error "Cannot read property 'afterContentPaint' of null" when running tests

See original GitHub issue

Occasionally 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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
samselikoffcommented, May 15, 2018

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?

4reactions
YoranBrondsemacommented, Oct 1, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found