thomaslindstrom / color-picker

A color picker for the Atom Editor. Right click a color and select color picker to open it.
MIT License
246 stars 50 forks source link

Uncaught TypeError: Cannot read property 'type' of null #232

Open vrusua opened 6 years ago

vrusua commented 6 years ago

Uncaught TypeError: Cannot read property 'type' of null

Atom Version: 0.156.0 System: Mac OS X 10.11.6 Thrown From: color-picker package, v1.7.0

Steps To Reproduce

  1. ...
  2. ...

Stack Trace

At /Users/owlookit/.atom/packages/color-picker/lib/ColorPicker-view.coffee:383

TypeError: Cannot read property 'type' of null
  at ColorPickerView.module.exports.ColorPickerView.refreshColor (/Users/owlookit/.atom/packages/color-picker/lib/ColorPicker-view.coffee:383:60)
  at HTMLBodyElement.<anonymous> (/Users/owlookit/.atom/packages/color-picker/lib/ColorPicker-view.coffee:215:29)
  at HTMLBodyElement.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:112:34)
  at HTMLBodyElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLBodyElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)

/cc @atom/core