You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught TypeError: Cannot read property 'split' of undefined #6831
Atom Version: 0.199.0 System: Mac OS X 10.10 Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'split' of undefined
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/history.js:128
TypeError: Cannot read property 'split' of undefined
at Selection.module.exports.Selection.insertText (/Applications/Atom.app/Contents/Resources/app.asar/src/selection.js:435:28)
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:729:31
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:771:29
at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/history.js:119:18)
at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:647:27)
at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1132:26)
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:765:24
at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1950:43)
at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1924:35)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:763:19)
Hi @adi-altiscale, what were you doing when this error occured? If you know how to reproduce it, could you please try in safe mode (atom --safe)? Thanks!
I got what looks like the same error after I used find and replace via Search in Directory, and then tried to Search in Directory in another directory immediately afterwards.
We haven't gotten a response to our questions in our comment #6831 (comment). With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
I got this same issue when trying to insert a comment via keyboard shortcut (command - '/') on a .slim file. I also have wakatime, and the onedark themes installed. no other overlaps.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
winstliu commentedon May 18, 2015
Hi @adi-altiscale, what were you doing when this error occured? If you know how to reproduce it, could you please try in safe mode (
atom --safe)? Thanks!Zireael07 commentedon May 19, 2015
I got what looks like the same error after I used find and replace via Search in Directory, and then tried to Search in Directory in another directory immediately afterwards.
pedzed commentedon Nov 29, 2016
I can confirm this issue, but I think it is rare. I am not sure how to reproduce.
Ben3eeE commentedon Nov 29, 2016
@pedzed It would be great if you could include all the information from the exception when confirming, thanks.
winstliu commentedon Dec 15, 2016
Thank you for your issue!
We haven't gotten a response to our questions in our comment #6831 (comment). With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
RachelScodes commentedon Dec 29, 2016
I got this same issue when trying to insert a comment via keyboard shortcut (command - '/') on a .slim file. I also have wakatime, and the onedark themes installed. no other overlaps.
Ben3eeE commentedon Dec 29, 2016
@RachelScodes The issue you are having should be fixed in Atom 1.13 currently in beta.
sllewellyn13 commentedon Dec 18, 2017
Still broken, I am getting the error with the sample usage code provided.
lock commentedon Jun 16, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!