{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/atom/issues/1792","labels_url":"https://api.github.com/repos/atom/atom/issues/1792/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/1792/comments","events_url":"https://api.github.com/repos/atom/atom/issues/1792/events","html_url":"https://github.com/atom/atom/issues/1792","id":30045120,"number":1792,"title":"Atom throws a \"Object #<Object> has no method 'union'\" error when opening some folders","user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-03-24T15:30:20Z","updated_at":"2015-03-07T11:30:09Z","closed_at":"2015-03-07T11:30:09Z","body":"Reported in Halp:\r\n* support/380d2e14ad8b11e390069849e7249ea1\r\n\r\n> Attempts to open a folder I was working in just a little while ago are suddenly causing the editor to not work properly. I can open other folders, and even that one if I do it by opening the folder it is contained in. The folder in question is a package I was working on, if that matters.\r\n> When I attempt to open it, and I have tried but from the command line and from Atom's menu, it opens a window which remains entirely white, except the devtools which pop open with this error:\r\n\r\n```\r\nTypeError: Object #<Object> has no method 'union'\r\nat Selection.module.exports.Selection.merge (/Applications/Atom.app/Contents/Resources/app/src/selection.js:689:53)\r\nat reducer (/Applications/Atom.app/Contents/Resources/app/src/editor.js:1732:33)\r\nat Array.reduce (native)\r\nat Object._.reduce._.foldl._.inject (/Applications/Atom.app/Contents/Resources/app/node_modules/underscore-plus/node_modules/underscore/underscore.js:113:28)\r\nat Editor.module.exports.Editor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/src/editor.js:1738:16)\r\nat Editor.module.exports.Editor.addSelection (/Applications/Atom.app/Contents/Resources/app/src/editor.js:1121:12)\r\nat new Editor (/Applications/Atom.app/Contents/Resources/app/src/editor.js:87:14)\r\nat Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:72:22)\r\nat DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app/src/deserializer-manager.js:42:29)\r\nat /Applications/Atom.app/Contents/Resources/app/src/pane.js:86:35\r\nat Array.map (native)\r\nat Pane.module.exports.Pane.deserializeParams (/Applications/Atom.app/Contents/Resources/app/src/pane.js:85:36)\r\nat Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:58:25)\r\nat DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app/src/deserializer-manager.js:42:29)\r\nat PaneContainer.module.exports.PaneContainer.deserializeParams (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:47:40)\r\nat Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:58:25)\r\nat Workspace.module.exports.Workspace.deserializeParams (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:65:44)\r\nat Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:58:25)\r\nat Atom.module.exports.Atom.deserializeWorkspaceView (/Applications/Atom.app/Contents/Resources/app/src/atom.js:273:42)\r\nat Atom.module.exports.Atom.deserializeEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:287:19)\r\nat Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:311:12)\r\nat Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:14:8)\r\nat Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:20:4)\r\nat Module._compile (module.js:455:26)\r\nat Object.Module._extensions..js (module.js:473:10)\r\nat Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)\r\nat Function.Module._load (module.js:311:12)\r\nat Module.require (module.js:363:17)\r\nat require (module.js:379:17)\r\nat window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:20:5)\r\nindex.js:29\r\n```\r\n\r\nEDIT: followup from user:\r\n\r\n> Ivan, as I mentioned , this was a plugin I was working on. Finding the file in `.atom/storage' that held its state and deleting that file caused the problem to go away"}}