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.

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelectorAll')

See original GitHub issue
refined-hacker-news.js:2756 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelectorAll')
    at getGroupedStories (refined-hacker-news.js:2756:32)
    at requestVisitedStories (refined-hacker-news.js:2909:21)
    at hide_read_stories_init (refined-hacker-news.js:2960:5)
    at refined-hacker-news.js:3026:17
    at new Promise (<anonymous>)
    at Object.add (refined-hacker-news.js:3022:12)
    at initialiseAll (refined-hacker-news.js:5131:24)

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:3
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
theY4Kmancommented, Nov 17, 2022

It looks like table.itemlist is no longer an appropriate selector to get the <table> holding the stories. There doesn’t appear to be any unique identifier on that table at all, any more. I’ve been testing out #hnmain table:has(.athing) as the selector instead.

0reactions
lookfirstcommented, Dec 24, 2022

The way this extension is coded, it breaks everything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'querySelector' of null - Stack Overflow
I am using Cordova app in Visual Studio 2015. I have added a simple button which changes the color of background of app...
Read more >
Cannot read property 'querySelector' of Null in JavaScript
To solve the "Cannot read property 'querySelectorAll' of null" error, make sure the id you're using to get the element exists in the...
Read more >
Cannot read property 'querySelectorAll' of null - Laracasts
Uncaught TypeError : Cannot read property 'querySelectorAll' of null. Hi there, I am getting an error in my jQuery code and I don't...
Read more >
Uncaught type error: cannot read property 'queryselector' of null
Solution would be validating for null values before accessing the functions in it. but you will only have to trace the code to...
Read more >
Cannot read property 'querySelector' of null -- No idea why
What this is telling you is that there is no 'querySelector' method on a null object. The object that it is trying to...
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