Skip to content

Uncaught TypeError: Cannot read property 'parentNode' of null #796

@mjchao2018

Description

@mjchao2018

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: macOS 11.2.3
Thrown From: minimap package 4.39.14

Stack Trace

Uncaught TypeError: Cannot read property 'parentNode' of null

At /Users/mjc/.atom/packages/minimap/dist/main-71d7e97f.js:1

TypeError: Cannot read property 'parentNode' of null
    at Function.eachParent (/packages/minimap/dist/main-71d7e97f.js:1:26618)
    at Function.parents (/packages/minimap/dist/main-71d7e97f.js:1:26453)
    at HTMLElement.parents (/packages/minimap/dist/main-71d7e97f.js:1:26691)
    at HTMLElement.queryParentSelectorAll (/packages/minimap/dist/main-71d7e97f.js:1:26834)
    at HTMLElement.queryParentSelector (/packages/minimap/dist/main-71d7e97f.js:1:26966)
    at HTMLElement.attachedCallback (/packages/minimap/dist/main-71d7e97f.js:1:69553)
    at /packages/minimap/dist/main-71d7e97f.js:1:24702)
    at /packages/minimap/dist/main-71d7e97f.js:1:70161
    at NodeList.forEach (<anonymous>)
    at HTMLElement.attach (/packages/minimap/dist/main-71d7e97f.js:1:70131)
    at Object.show (/packages/minimap-hide/lib/minimap-hide.coffee:41:21)
    at /packages/minimap-hide/lib/minimap-hide.coffee:29:8
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1182710)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1184151)
    at Workspace.didActivatePaneContainer (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:426908)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:44589
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1182710)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1184151)
    at PaneContainer.didActivatePane (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:449141)
    at Pane.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:466464)
    at Pane.focus (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:457907)
    at HTMLElement.handleFocus (/app.asar/src/pane-element.js:41:20)
    at HTMLElement.attachedCallback (/app.asar/src/pane-element.js:16:12)
    at HTMLElement.rootChanged (/app.asar/src/pane-container-element.js:28:12)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1182710)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1184151)
    at PaneContainer.setRoot (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:447140)
    at PaneContainer.deserialize (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:445600)
    at WorkspaceCenter.deserialize (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:44963)
    at Workspace.deserialize (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:425807)

Commands

Non-Core Packages

busy-signal 2.0.1 
compare-files 0.8.1 
highlight-selected 0.17.0 
Hydrogen 2.15.3 
intentions 1.1.5 
linter 3.3.1 
linter-ui-default 3.3.1 
minimap 4.39.14 
minimap-find-and-replace 5.0.8 
minimap-hide 0.3.0 
minimap-highlight-selected 4.6.5 
minimap-linter 2.2.2 
minimap-pigments 0.2.2 
rbox 0.5.0 
Sublime-Style-Column-Selection 1.7.5 
tool-bar 1.4.2 
tool-bar-atom 1.7.1 
tool-bar-main 0.0.12 

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