xatom-debug icon indicating copy to clipboard operation
xatom-debug copied to clipboard

Uncaught TypeError: Cannot read property 'id' of undefined

Open blackzend opened this issue 8 years ago • 0 comments

No steps to reproduce. It happens in many operations, like search in project, compare files, trying to debug with atom-ide-ui enabled (btw, this is disabled because of this).

Atom: 1.21.1 x64 Electron: 1.6.15 OS: Unknown Windows version Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'id' of undefined

At ~\AppData\Local\atom\app-1.21.1\resources\app\src\text-editor-component.js:647

TypeError: Cannot read property 'id' of undefined
    at extraRenderedScreenLines.forEach (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:647:45)
    at Map.forEach (native)
    at TextEditorComponent.renderLineTiles (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:644:43)
    at TextEditorComponent.renderContent (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:587:18)
    at TextEditorComponent.renderScrollContainer (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:562:18)
    at TextEditorComponent.render (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:507:20)
    at Object.updateSync (~/AppData/Local/atom/app-1.21.1/resources/app/node_modules/etch/lib/component-helpers.js:107:40)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:384:16)
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:2380:18)
    at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

     -9:47.1.0 editor:newline (input.hidden-input)
  2x -9:37.2.0 editor:delete-line (input.hidden-input)
  5x -9:19.2.0 intentions:highlight (input.hidden-input)
     -9:18.6.0 core:copy (input.hidden-input)
     -8:27.3.0 intentions:highlight (input.hidden-input)
     -8:27.1.0 settings-view:open (input.hidden-input)
  2x -8:22.6.0 core:confirm (input.hidden-input)
     -4:08.9.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -3:59.1.0 intentions:highlight (input.hidden-input)
     -3:59.1.0 core:paste (input.hidden-input)
 22x -3:58.2.0 intentions:highlight (input.hidden-input)
     -3:57 core:move-to-top (input.hidden-input)
     -3:48.5.0 split-diff:enable (div.title)

Non-Core Packages

atom-beautify 0.30.5 
atom-ide-ui 0.5.1 
atom-node-debugger undefined 
autocomplete-html-entities 0.1.0 
busy-signal 1.4.3 
editorconfig 2.2.2 
git-plus 7.10.0 
ide-typescript 0.6.2 
intentions 1.1.5 
jsformat 0.9.3 
language-nunjucks 4.1.0 
linter 2.2.0 
linter-ui-default 1.6.10 
node-requirer 0.1.12 
project-plus 1.0.0 
split-diff 1.5.1 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

blackzend avatar Oct 13 '17 17:10 blackzend