skandasoft / browser-plus

Browser For Atom
MIT License
107 stars 34 forks source link

Uncaught TypeError: Cannot read property 'length' of null #205

Closed iosue closed 4 months ago

iosue commented 4 years ago

[Enter steps to reproduce:]

  1. open any file with browser-plus

Atom: 1.48.0 x64 Electron: 5.0.13 OS: Microsoft Windows 10 Home Thrown From: browser-plus package 0.0.98

Stack Trace

Uncaught TypeError: Cannot read property 'length' of null

At C:\Users\josh\.atom\packages\browser-plus\lib\browser-plus-view.coffee:482

TypeError: Cannot read property 'length' of null
    at BrowserPlusView.module.exports.BrowserPlusView.checkFav (/packages/browser-plus/lib/browser-plus-view.coffee:482:5)
    at BrowserPlusView.module.exports.BrowserPlusView.initialize (/packages/browser-plus/lib/browser-plus-view.coffee:128:8)
    at /packages/browser-plus/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/browser-plus/lib/browser-plus-view.coffee:29:5)
    at ViewRegistry.createView (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:325134)
    at ViewRegistry.getView (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:324497)
    at HTMLElement.getActiveView (/app.asar/src/pane-element.js:206:23)
    at HTMLElement.handleFocus (/app.asar/src/pane-element.js:44:25)
    at HTMLElement.activated (/app.asar/src/pane-element.js:115:12)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:1201460)
    at Emitter.emit (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:1202901)
    at Pane.activate (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:464345)
    at NotificationElement.removeNotificationAfterTimeout (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:897001)
    at NotificationElement.removeNotification (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:895887)
    at NotificationElement.handleRemoveNotificationClick (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:896004)
    at HTMLDivElement.<anonymous> (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:892321)

Commands

  2x -1:01.3.0 browser-plus:open (div.line)

Non-Core Packages

atom-html-preview 0.2.6 
auto-save-on-idle 1.2.1 
autoclose-html-plus 0.27.2 
autosave-onchange 1.5.1 
browser-plus 0.0.98 
busy-signal 2.0.1 
emmet 2.4.3 
Hydrogen 2.14.3 
intentions 1.1.5 
lint 0.0.1 
linter 2.3.1 
linter-csslint 2.0.6 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
platformio-ide-terminal 2.10.0 
script 3.26.0