Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'newText' of undefined #1018

Open
lsalomon opened this issue Dec 6, 2017 · 0 comments
Open

Uncaught TypeError: Cannot read property 'newText' of undefined #1018

lsalomon opened this issue Dec 6, 2017 · 0 comments

Comments

@lsalomon
Copy link

lsalomon commented Dec 6, 2017

[Enter steps to reproduce:]

  1. focus on any files in the text editor
  2. hit any key of keyboard

Atom: 1.23.0-beta1 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: omnisharp-atom package 0.31.2

Stack Trace

Uncaught TypeError: Cannot read property 'newText' of undefined

At /Users/laurentsalomon/.atom/packages/omnisharp-atom/dist/server/omnisharp-text-editor.js:123

TypeError: Cannot read property 'newText' of undefined
    at /packages/omnisharp-atom/dist/server/omnisharp-text-editor.js:123:36
    at arrayMap (/packages/atom-sync/node_modules/lodash/lodash.js:660:23)
    at map (/packages/atom-sync/node_modules/lodash/lodash.js:9571:14)
    at OmnisharpEditorContext.popChanges (/packages/omnisharp-atom/dist/server/omnisharp-text-editor.js:121:36)
    at /packages/omnisharp-atom/dist/server/omnisharp-text-editor.js:67:84
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at TextBuffer.module.exports.TextBuffer.emitDidStopChangingEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:1699:26)
    at later (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/helpers.js:28:13)

Commands

     -2:46.8.0 project-manager:list-projects (input.hidden-input)
     -0:24.8.0 core:paste (input.hidden-input)
     -0:23.4.0 core:save (input.hidden-input)
     -0:11.3.0 atom-sync:upload-directory (span.name.icon.icon-repo)
     -0:03.6.0 core:save (input.hidden-input)

Non-Core Packages

api-docs 0.0.6 
atom-beautify 0.30.9 
atom-ide-ui 0.6.0 
atom-material-syntax 1.0.7 
atom-material-ui 2.0.6 
atom-sync 0.7.3 
autocomplete-paths 2.12.1 
build 0.69.0 
busy 0.7.0 
busy-signal 1.4.3 
chmod 0.1.1 
clipboard-plus 0.5.1 
color-picker 2.2.5 
compare-files 0.8.1 
config-import-export 0.3.1 
cursor-history 0.12.0 
diagrams 0.28.4 
docblockr 0.13.2 
emmet 2.4.3 
file-header 1.13.8 
file-icons 2.1.14 
flex-tool-bar 0.12.0 
font-preview 0.1.1 
font-viewer 0.3.1 
git-log 0.4.1 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
hyperclick 0.0.0 
ide-csharp 0.6.1 
ide-css-less-scss 0.1.1 
ide-docker 0.0.2 
ide-go 0.4.0 
ide-html 0.4.1 
ide-java 0.7.0 
ide-json 0.1.0 
ide-php 0.7.3 
ide-python 0.3.0 
ide-typescript 0.7.0 
intentions 1.1.5 
ionide-paket 2.2.6 
language-cshtml 0.3.0 
language-swift 0.5.0 
linter 2.2.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
make-executable 1.0.0 
merge-conflicts 1.4.5 
minimap 4.29.7 
minimap-bookmarks 0.4.2 
minimap-split-diff 0.3.7 
monokai 0.24.0 
omnisharp-atom 0.31.2 
open-terminal-here 2.3.1 
package-sync 1.1.0 
pdf-view 0.61.0 
pigments 0.40.2 
project-banner 0.2.1 
project-manager 3.3.5 
regex-railroad-diagram 0.19.4 
script 3.17.3 
simple-drag-drop-text 0.3.6 
sort-lines 0.18.0 
split-diff 1.5.1 
tabs-to-spaces 1.0.3 
tasks 2.8.0 
teletype 0.2.3 
toggle-packages 1.1.0 
tool-bar 1.1.0 
tree-view-autoresize 2.3.0 
tree-view-git-status 1.4.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant