yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

Uncaught TypeError: Cannot read property 'checkstyle' of null #113

Closed renkun-ken closed 9 years ago

renkun-ken commented 9 years ago

I'm using Atom 0.161.0 under Windows 8.1 x64. When I open config.cson of Atom, then the following error occurs:

/c:/Users/Kun/.atom/packages/atom-lint/lib/linter/xml-base.coffee:46
Hide Stack Trace
TypeError: Cannot read property 'checkstyle' of null
  at CoffeeLint.module.exports.XmlBase.createViolationsFromXml (c:\Users\Kun\.atom\packages\atom-lint\lib\linter\xml-base.coffee:28:22)
  at c:\Users\Kun\.atom\packages\atom-lint\lib\linter\xml-base.coffee:19:25
  at Parser.<anonymous> (c:\Users\Kun\.atom\packages\atom-lint\node_modules\xml2js\lib\xml2js.js:384:20)
  at Parser.emit (events.js:107:17)
  at Parser.exports.Parser.Parser.parseString (c:\Users\Kun\.atom\packages\atom-lint\node_modules\xml2js\lib\xml2js.js:399:14)
  at Parser.parseString (c:\Users\Kun\.atom\packages\atom-lint\node_modules\xml2js\lib\xml2js.js:6:61)
  at Object.exports.parseString (c:\Users\Kun\.atom\packages\atom-lint\node_modules\xml2js\lib\xml2js.js:433:19)
  at c:\Users\Kun\.atom\packages\atom-lint\lib\linter\xml-base.coffee:17:14
  at ChildProcess.<anonymous> (c:\Users\Kun\.atom\packages\atom-lint\lib\command-runner.coffee:32:7)
  at ChildProcess.emit (events.js:110:17)
  at maybeClose (child_process.js:1013:16)
  at Socket.<anonymous> (child_process.js:1181:11)
  at Socket.emit (events.js:107:17)
  at Pipe.close (net.js:461:12)