Atom Version: 1.13.1
Electron Version: 1.3.13
System: Mac OS X 10.11.6
Thrown From: pull-requests package, v0.1.0
Stack Trace
Uncaught TypeError: Cannot read property 'forEach' of null
At /Users/qingfeng/Dropbox/atom_config/packages/pull-requests/lib/tree-view-decorator.coffee:66
TypeError: Cannot read property 'forEach' of null
at TreeViewDecorator.module.exports.TreeViewDecorator.updateTreeView (/Users/qingfeng/Dropbox/atom_config/packages/pull-requests/lib/tree-view-decorator.coffee:66:15)
at /Users/qingfeng/Dropbox/atom_config/packages/pull-requests/lib/tree-view-decorator.coffee:43:41
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at Object.<anonymous> (/Users/qingfeng/Dropbox/atom_config/packages/pull-requests/lib/gh-client.coffee:190:18)
at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3256:33)
at fire (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3099:30)
at Object.fireWith [as resolveWith] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3211:7)
at Object.deferred.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3301:34)
at fire (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3099:30)
at Object.fireWith [as resolveWith] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3211:7)
at Object.deferred.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3301:34)
at fire (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3099:30)
at Object.fireWith [as resolveWith] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3211:7)
at Object.deferred.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3301:34)
at fire (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3099:30)
at Object.fireWith [as resolveWith] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3211:7)
at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3263:41)
at fire (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3099:30)
at Object.fireWith [as resolveWith] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3211:7)
at Object.deferred.(anonymous function) [as resolve] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:3301:34)
at resolve (/Users/qingfeng/Dropbox/atom_config/packages/pull-requests/node_modules/octokat/dist/node/helper-promise.js:51:28)
at cb (/Users/qingfeng/Dropbox/atom_config/packages/pull-requests/node_modules/octokat/dist/node/helper-promise.js:120:20)
at /Users/qingfeng/Dropbox/atom_config/packages/pull-requests/node_modules/octokat/dist/node/octokat.js:82:18
at /Users/qingfeng/Dropbox/atom_config/packages/pull-requests/node_modules/octokat/dist/node/request.js:195:22
at XMLHttpRequest.xhr.onreadystatechange (/Users/qingfeng/Dropbox/atom_config/packages/pull-requests/node_modules/octokat/dist/node/request.js:43:18)
Hi there @qingfeng, it appears you've pasted in your Personal Access Token in the JSON above; I would like to suggest you consider regenerating that token at https://github.com/settings/tokens .
[Enter steps to reproduce below:]
Atom Version: 1.13.1 Electron Version: 1.3.13 System: Mac OS X 10.11.6 Thrown From: pull-requests package, v0.1.0
Stack Trace
Uncaught TypeError: Cannot read property 'forEach' of null
Commands
Config
Installed Packages