Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

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

Closed

Description

@cristinaITdeveloper

[Enter steps to reproduce:]

  1. open one file in javascript

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Mac OS X 10.13.6
Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

TypeError: Cannot read property 'length' of undefined
    at ScreenLineBuilder.emitText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1103304)
    at ScreenLineBuilder.buildScreenLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1099010)
    at DisplayLayer.getScreenLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:89306)
    at TextEditorComponent.queryScreenLinesToRender (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:79324)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:69977)
    at TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:67605)
    at TextEditorComponent.didMouseWheel (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:92354)

Commands

     -3:27.6.0 application:reopen-project (input.hidden-input)

Non-Core Packages

language-babel 2.53.0 
language-pug 0.0.19 

Activity

  1. winstliu commented on Jan 24, 2019

    @winstliu
    Contributor
    1. open one file in javascript

    Does this file always trigger the exception? If so, can you share this file with us?

  2. makis-spy commented on Feb 2, 2019

    @makis-spy

    I get the same issue however only when I scroll. Sorry can't share file :/
    Mine occurred when a second version of the same file was opened by clicking a js error in my react app from chrome. If I close both and just open one all is fine

  3. winstliu commented on Feb 5, 2019

    @winstliu
    Contributor

    Mine occurred when a second version of the same file was opened

    So are there two tabs in the same pane of the same file? Or are they in different panes? And does it always reproduce with the specific file? Thanks!

  4. NikulGoyani369 commented on Feb 11, 2019

    @NikulGoyani369
  5. rsese commented on Feb 12, 2019

    @rsese
  6. no-response commented on Feb 21, 2019

    @no-response

    This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

  7. lock commented on Aug 20, 2019

    @lock

    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!

  8. locked as resolved and limited conversation to collaborators on Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions