Skip to content

Uncaught TypeError: Cannot read property 'length' of undefined #51

@catchthemonster

Description

@catchthemonster

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.54.0 x64
Electron: 6.1.12
OS: linux 5.11.1-arch1-1
Thrown From: dbg package 1.6.3

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:1323

TypeError: Cannot read property 'length' of undefined
    at exports.extentForText (/usr/lib/atom/node_modules/text-buffer/lib/helpers.js:81:29)
    at TextBuffer.setTextInRange (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:871:40)
    at /usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:850:49
    at TextBuffer.transact (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:1320:16)
    at TextBuffer.setTextInRange (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:850:29)
    at TextBuffer.setText (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:780:17)
    at CustomPanel.module.exports.CustomPanel.pickFile (/packages/dbg/lib/view/CustomPanel.coffee:147:33)
    at /packages/dbg/lib/view/CustomPanel.coffee:67:44)

Commands

     -0:29.5.0 dbg:custom-debug (input.hidden-input)

Non-Core Packages

atom-clock 0.1.18 
dbg 1.6.3 
dbg-gdb 1.7.8 
hey-pane 1.2.0 
output-panel 0.3.4 
scroll-through-time 0.3.1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions