Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: Cannot read property 'closest' of null #418

Open
nawing opened this issue Mar 5, 2017 · 5 comments
Open

Uncaught TypeError: Cannot read property 'closest' of null #418

nawing opened this issue Mar 5, 2017 · 5 comments

Comments

@nawing
Copy link

nawing commented Mar 5, 2017

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.14.4 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: tabs package 0.104.1

Stack Trace

Uncaught TypeError: Cannot read property 'closest' of null

At /opt/atom/resources/app.asar/node_modules/tabs/lib/layout.js:66

TypeError: Cannot read property 'closest' of null
    at Object.getElement (/app.asar/node_modules/tabs/lib/layout.js:66:57)
    at Object.getItemViewAt (/app.asar/node_modules/tabs/lib/layout.js:69:41)
    at Object.end (/app.asar/node_modules/tabs/lib/layout.js:28:47)
    at HTMLLIElement.TabView.element.ondragend (/app.asar/node_modules/tabs/lib/tab-view.js:48:23)

Commands

     -2:25.6.0 core:backspace (input.hidden-input)
     -2:21.6.0 autocomplete-plus:confirm (input.hidden-input)
     -2:21.6.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
  3x -2:16 core:backspace (input.hidden-input)
     -2:09.6.0 editor:newline (input.hidden-input)
     -2:09.1.0 core:paste (input.hidden-input)
     -2:05.9.0 core:move-right (input.hidden-input)
 12x -2:05.5.0 core:backspace (input.hidden-input)
  3x -1:51.6.0 core:move-down (input.hidden-input)
     -1:50.2.0 core:move-up (input.hidden-input)
 18x -1:49.7.0 core:backspace (input.hidden-input)
  6x -1:44.7.0 core:move-left (input.hidden-input)
     -1:43.2.0 core:backspace (input.hidden-input)
  4x -1:41 core:save (input.hidden-input)
  2x -1:20.2.0 editor:toggle-line-comments (input.hidden-input)
  4x -1:15.8.0 core:save (input.hidden-input)

Non-Core Packages

atom-typescript 10.1.13 
linter 1.11.21 
@winstliu
Copy link
Contributor

winstliu commented Mar 6, 2017

Hi @nawing, what were you doing when this exception occurred?

@nawing
Copy link
Author

nawing commented Mar 6, 2017 via email

@winstliu
Copy link
Contributor

winstliu commented Mar 6, 2017

Ok, thanks.

@Bmorkos
Copy link

Bmorkos commented May 19, 2017

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Mac OS X 10.11.6
Thrown From: tabs package 0.106.0

i got the same error. accidentally i dragged a file outside atom window to see the red box with error details

@jacekkopecky
Copy link

jacekkopecky commented Jun 16, 2017

I intentionally dragged a tab out of the window, hoping it could open in another window, but got this issue. I don't know what the intended functionality is, so I hope this helps you debug it.

[edited] OK, it doesn't help that the issue isn't coming up after restart, either in safe mode, or normal. Sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants