TypeError null is not an object / cannot read properties of null

Hi!

I see the exceptions (images below) happen using code mirror 6 (v6.0.0), lezer/common (v1.0.0), lezer/highlight (v1.0.0). The errors seem to occur on Chrome (v103, v104) and Safari (various versions of v15).

We have randomly reproduced the issue a handful of times, but there were no clear steps. The times we were able to reproduce, we were frantically clicking around the editor instance. Would you have any ideas where this issue may be stemming from? It’s causing a lot of noise in our error monitoring tool and would like to get to the root of the problem.

Thanks!

A stack trace from a minified build is, unfortunately, not really any use for figuring out what this may be about.

  1. First Of all Open Your Chrome.
  2. Now, Click on Three Dot at Right Hand Side Top Corner and Open Menu.
  3. Now, Select More Tools.
  4. Then, Click on Extensions.
  5. You can see there is an Extensions list that You have Downloaded.
  6. Just Search Blackbox - Select. Copy. Paste & Search Extension.
  7. Simply Remove Or Disable it.
  8. And now Restart Your chrome to ensure your changes take effect. You can Read it Here.