{"action":"created","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/13","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/13/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/13/events","html_url":"https://github.com/abe33/atom-pigments/issues/13","id":77616152,"number":13,"title":"Uncaught TypeError: Cannot read property 'filter' of undefined","user":{"login":"BlaM","id":176011,"avatar_url":"https://avatars.githubusercontent.com/u/176011?v=3","gravatar_id":"","url":"https://api.github.com/users/BlaM","html_url":"https://github.com/BlaM","followers_url":"https://api.github.com/users/BlaM/followers","following_url":"https://api.github.com/users/BlaM/following{/other_user}","gists_url":"https://api.github.com/users/BlaM/gists{/gist_id}","starred_url":"https://api.github.com/users/BlaM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlaM/subscriptions","organizations_url":"https://api.github.com/users/BlaM/orgs","repos_url":"https://api.github.com/users/BlaM/repos","events_url":"https://api.github.com/users/BlaM/events{/privacy}","received_events_url":"https://api.github.com/users/BlaM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/abe33/atom-pigments/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-18T11:22:56Z","updated_at":"2015-05-18T14:58:30Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\nNot sure if the crash/stack trace below actually belongs to the problem I'm observing, but it was triggered ONCE by the behavior I see here:\r\n\r\n1. Create a new file and save as freeze.css\r\n2. Type \".a\"\r\n3. Editor locks up.\r\n\r\n**Atom Version**: 0.199.0\r\n**System**: Microsoft Windows 8.1 Pro\r\n**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package, v0.2.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'filter' of undefined\r\n\r\n```\r\nAt C:\\Users\\ddeobald\\.atom\\packages\\pigments\\lib\\color-project.coffee:244\r\n\r\nTypeError: Cannot read property 'filter' of undefined\r\n  at ColorProject.module.exports.ColorProject.getColorVariables (C:\\Users\\ddeobald\\.atom\\packages\\pigments\\lib\\color-project.coffee:244:38)\r\n  at PigmentsProvider.module.exports.PigmentsProvider.getSuggestions (C:\\Users\\ddeobald\\.atom\\packages\\pigments\\lib\\pigments-provider.coffee:27:28)\r\n  at C:\\Users\\ddeobald\\AppData\\Local\\atom\\app-0.199.0\\resources\\app.asar\\node_modules\\autocomplete-plus\\lib\\autocomplete-manager.js:254:56\r\n  at Array.forEach (native)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (C:\\Users\\ddeobald\\AppData\\Local\\atom\\app-0.199.0\\resources\\app.asar\\node_modules\\autocomplete-plus\\lib\\autocomplete-manager.js:233:17)\r\n  at AutocompleteManager.getSuggestionsFromProviders (C:\\Users\\ddeobald\\AppData\\Local\\atom\\app-0.199.0\\resources\\app.asar\\node_modules\\autocomplete-plus\\lib\\autocomplete-manager.js:3:61)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (C:\\Users\\ddeobald\\AppData\\Local\\atom\\app-0.199.0\\resources\\app.asar\\node_modules\\autocomplete-plus\\lib\\autocomplete-manager.js:221:19)\r\n  at C:\\Users\\ddeobald\\AppData\\Local\\atom\\app-0.199.0\\resources\\app.asar\\node_modules\\autocomplete-plus\\lib\\autocomplete-manager.js:3:61\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:40.4.0 click (div.title)\r\n     -0:38.7.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:38.5.0 core:paste (atom-text-editor.editor.is-focused)\r\n  3x -0:37.3.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:09.5.0 click (a.btn-issue.btn.btn-error)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"js-refactor\",\r\n      \"linter-eslint\",\r\n      \"deprecation-cop\",\r\n      \"recent-projects\",\r\n      \"recent-files\",\r\n      \"conceal\",\r\n      \"less-than-slash\",\r\n      \"emmet\"\r\n    ]\r\n  },\r\n  \"pigments\": {\r\n    \"sourceNames\": [\r\n      \"**/*.styl\",\r\n      \"**/*.stylus\",\r\n      \"**/*.less\",\r\n      \"**/*.sass\",\r\n      \"**/*.scss\",\r\n      \"**/*.css\"\r\n    ],\r\n    \"markerType\": \"underline\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\naltgr, v0.1.0\r\natom-html-preview, v0.1.6\r\ncomposer, v0.3.1\r\nhighlight-selected, v0.9.3\r\nhtml-id-class-snippets, v1.4.1\r\nlanguage-sql-mysql, v0.3.1\r\nless-autocompile, v1.0.0\r\nlinter, v0.12.2\r\nlinter-htmlhint, v0.0.15\r\nlinter-jshint, v0.1.4\r\nlinter-jsonlint, v0.1.3\r\nlinter-php, v0.0.12\r\nminimap, v4.8.0\r\nminimap-highlight-selected, v4.2.3\r\nopen-recent, v2.2.2\r\npigments, v0.2.1\r\npretty-json, v0.3.3\r\nproject-manager, v1.15.5\r\nselect-line, v0.16.0\r\nselect-rectangle, v1.0.2\r\nuuidgen, v1.2.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/comments/103086891","html_url":"https://github.com/abe33/atom-pigments/issues/13#issuecomment-103086891","issue_url":"https://api.github.com/repos/abe33/atom-pigments/issues/13","id":103086891,"user":{"login":"BlaM","id":176011,"avatar_url":"https://avatars.githubusercontent.com/u/176011?v=3","gravatar_id":"","url":"https://api.github.com/users/BlaM","html_url":"https://github.com/BlaM","followers_url":"https://api.github.com/users/BlaM/followers","following_url":"https://api.github.com/users/BlaM/following{/other_user}","gists_url":"https://api.github.com/users/BlaM/gists{/gist_id}","starred_url":"https://api.github.com/users/BlaM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlaM/subscriptions","organizations_url":"https://api.github.com/users/BlaM/orgs","repos_url":"https://api.github.com/users/BlaM/repos","events_url":"https://api.github.com/users/BlaM/events{/privacy}","received_events_url":"https://api.github.com/users/BlaM/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T14:58:30Z","updated_at":"2015-05-18T14:58:30Z","body":"Same result. Ends up with \"undefined\" as returned value of getVariables();"}}