alexanderqchen / mentor-atom

A package for the dev companion app Mentor.
https://atom.io/packages/mentor
MIT License
1 stars 0 forks source link

Uncaught TypeError: Cannot read property 'getText' of undefined #1

Open Sergio7Z opened 5 years ago

Sergio7Z commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.34.0 x64 Electron: 2.0.16 OS: Microsoft Windows 10 Pro Thrown From: mentor package 0.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'getText' of undefined

At C:\Users\sergi\.atom\packages\mentor\lib\mentor.js:16

TypeError: Cannot read property 'getText' of undefined
    at /packages/mentor/lib/mentor.js:16:23
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
    at s (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:410339)
    at PathWatcher.onNativeEvents (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:25101)
    at t.native.onDidChange.t (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:23837)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
    at NSFWNativeWatcher.onEvents (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:21083)
    at watcher.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:22732)

Commands

Non-Core Packages

atom-beautify 0.33.4 
atom-clock 0.1.16 
atom-ember-author-kit 0.8.3 
atom-pair 2.0.13 
atom-python-run 0.9.7 
atom-uikit 1.2.2 
autocomplete-clang 0.11.5 
autocomplete-python 1.12.0 
bracket-padder 0.4.2 
build 0.70.0 
busy-signal 2.0.0 
cafe-analog-syntax 0.1.0 
Clouds-ui 1.1.0 
coffee-autocompile 0.7.0 
compiler-invoker 1.1.0 
cpp-compiler 1.3.0 
daverona-laravel-syntax 0.0.1 
daverona-mellow-syntax 0.0.1 
daverona-slime-syntax 0.0.1 
docker 0.8.0 
epitech-norm 0.3.4 
file-icons 2.1.30 
flex-tool-bar 2.1.2 
framer-syntax 1.1.0 
framer-ui 2.0.0 
GobbieGobGoo 1.0.4 
gpp 0.4.3 
gpp-compiler 3.0.7 
handsome-light-syntax 0.3.4 
hey-pane 1.1.2 
hoa-compiler-plugin 0.1.0 
Hydrogen undefined 
intentions 1.1.5 
kite 0.149.0 
language-gsl 1.0.0 
language-ini 1.20.0 
lime-syntax 1.0.1 
linter 2.3.0 
linter-gcc 0.7.1 
linter-ui-default 1.7.1 
mentor 0.2.0 
midnight-owl-syntax 0.1.0 
moonlight 0.11.0 
my-package 0.0.0 
open-on-bitbucket 0.5.0 
organized 0.8.1 
platformio-ide 2.3.1 
platformio-ide-debugger 1.2.6 
platformio-ide-terminal 2.9.1 
python-suite 0.3.2 
reactjs-snippets 0.1.8 
remote-compile 0.5.1 
rocket-dark-syntax 1.0.0 
scroll-through-time 0.3.0 
single-click-open 0.2.2 
sourcefetch-package 0.8.0 
sourcefetch-stackoverflow 0.5.0 
summer-night-syntax 2.0.1 
swiftkit 0.3.0 
syntax 0.0.0 
teletype 0.13.3 
todo-show 2.3.2 
tool-bar 1.1.11 
tool-bar-almighty 0.9.0 
tool-bar-main 0.0.11 
uikit-atom 0.3.2 
zentabs 0.8.9 
alexanderqchen commented 5 years ago

Hi thanks for opening this issue. I've run into this a couple times and reloading the window seems to fix it. I'm not yet sure why the error occurs in the first place, however.