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 'NaN' of undefined #1014

Open
enternodecs opened this issue Sep 5, 2017 · 0 comments
Open

Uncaught TypeError: Cannot read property 'NaN' of undefined #1014

enternodecs opened this issue Sep 5, 2017 · 0 comments

Comments

@enternodecs
Copy link

[Enter steps to reproduce:]

  1. Create new .cs file
  2. Write in it
  3. Save and close

Atom: 1.19.5 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Home
Thrown From: omnisharp-atom package 0.31.2

Stack Trace

Uncaught TypeError: Cannot read property 'NaN' of undefined

At C:\Users\Cross\.atom\packages\omnisharp-atom\node_modules\rxjs\scheduler\AsyncScheduler.js:45

TypeError: Cannot read property 'NaN' of undefined
    at TextEditorComponent.renderedScreenLineForRow (~/AppData/Local/atom/app-1.19.5/resources/app/src/text-editor-component.js:949:37)
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.5/resources/app/src/text-editor-component.js:2352:33)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.5/resources/app/src/text-editor-element.js:247:32)
    at TextEditor.module.exports.TextEditor.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.5/resources/app/src/text-editor.js:3665:38)
    at MapSubscriber.project (/packages/omnisharp-atom/dist/features/lookup.js:78:35)
    at MapSubscriber._next (/packages/omnisharp-atom/node_modules/rxjs/operator/map.js:77:35)
    at MapSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at AuditTimeSubscriber.clearThrottle (/packages/omnisharp-atom/node_modules/rxjs/operator/auditTime.js:96:30)
    at AsyncAction.dispatchNext (/packages/omnisharp-atom/node_modules/rxjs/operator/auditTime.js:102:16)
    at AsyncAction._execute (/packages/omnisharp-atom/node_modules/rxjs/scheduler/AsyncAction.js:111:18)
    at AsyncAction.execute (/packages/omnisharp-atom/node_modules/rxjs/scheduler/AsyncAction.js:86:26)
    at AsyncScheduler.flush (/packages/omnisharp-atom/node_modules/rxjs/scheduler/AsyncScheduler.js:36:32)

Commands

     -0:49.5.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -0:41.1.0 core:confirm (input.hidden-input)
     -0:34.6.0 autocomplete-plus:confirm (atom-text-editor.editor.omnisharp-editor.is-focused)
     -0:34.6.0 autocomplete-plus:activate (atom-text-editor.editor.omnisharp-editor.is-focused)
  5x -0:30.1.0 core:backspace (input.hidden-input)
     -0:28.5.0 autocomplete-plus:confirm (atom-text-editor.editor.omnisharp-editor.is-focused)
  2x -0:28.4.0 editor:newline (input.hidden-input)

Non-Core Packages

busy-signal 1.4.3 
gpp-compiler 3.0.7 
intentions 1.1.5 
isotope-light-ui 2.3.0 
language-lua 0.9.11 
linter 2.2.0 
linter-ui-default 1.6.8 
omnisharp-atom 0.31.2 
platformio-ide-terminal 2.6.0 
white-ui 2.6.2 
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