Uncaught TypeError: Cannot read property 'value' of null
See original GitHub issueRan into an interesting case with the latest rrweb:
Uncaught TypeError: Cannot read property 'value' of null
at MutationBuffer.emit (rrweb.js:1932)
at MutationBuffer.processMutations (rrweb.js:1826)
at MutationObserver.nrWrapper (design-projects:26)
How to reproduce:
- Go to https://www.betabrand.com/design-projects, open chrome console
- Paste into console"
var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.js'; document.head.appendChild(script);
- Paste into console:
rrweb.record({ emit: () => {} })
- Open navigation, go to Yoga Denim.
- See uncaught errors in console
The site is using angular-js under the hood.
I added some debugging code to the library, and I think the suspicious element (that is later being read as null) is shown in the screenshot (1224), it matches with the index of addList element being null.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >Uncaught TypeError: Cannot read property 'value' of null
I'm getting error in this code, I'm trying to do an event where in when the page is load, it will do the...
Read more >How to deal with TypeError: cannot read properties of null
While coding in Javascript, you must have at least once received a Type Error which has the message “cannot read properties of null”....
Read more >Uncaught TypeError Cannot read property value of null
I have been getting an ERROR in the code as I'm trying to do an event where when the page is loaded, it...
Read more >"Cannot read property 'value' of null" - When the variables is ...
Hey Mark,. Anytime you see 'cannot get value of null', it means the element you have selected is non existent. If you take...
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’ll check this tonight.
@macobo I think I’ve found the root cause. You can have a try on v0.9.14.