Uncaught TypeError: Cannot read property 'element' of undefined
Prerequisites
- [ ] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: <https://github.com/issues?q=is%3Aissue user%3Aatom>
- Checked that there is not already an Pulsar package that provides the described functionality: https://atom.io/packages
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Pulsar: 1.125.2025012415 arm64 Electron: 12.2.3 OS: macOS 15.1.1 Thrown From: Pulsar Core
Stack Trace
Uncaught TypeError: Cannot read property 'element' of undefined
At /Applications/Pulsar.app/Contents/Resources/app.asar/src/text-editor-component.js:1776
TypeError: Cannot read property 'element' of undefined
at TextEditorComponent.didScrollDummyScrollbar (/app.asar/src/text-editor-component.js:1776:37)
Commands
-0:12 intentions:highlight (input.hidden-input)
Non-Core Packages
atom-clock 0.1.18
autocomplete-python 1.17.1
busy-signal 2.0.1
emmet 2.4.3
expressjs 2.2.0
file-icons 2.1.47
intentions 2.1.1
language-babel 2.85.0
linter 3.4.0
linter-ui-default 3.4.1
prettier-atom 0.60.1
react-snippets 2.0.0
Additional Information
This has been months and no response from the team, any updates on this.
#1336 may fix it. I asked for changes on that PR and they never happened (which is fine; people get busy). Feel free to pick it up if you want to help it along.
Failing that, if you have consistent reproduction instructions, that's probably the quickest way to get this fixed. I used to notice this error pretty often, but much less so recently, and it's hard to investigate a root cause if you can't get something to happen at will.
Eh, never mind — my feedback was minimal on that PR. I'll just commit the suggestions and then get approval from another core team member. Thanks for the poke.