{"action":"created","issue":{"url":"https://api.github.com/repos/lukemurray/data-atom/issues/80","repository_url":"https://api.github.com/repos/lukemurray/data-atom","labels_url":"https://api.github.com/repos/lukemurray/data-atom/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/lukemurray/data-atom/issues/80/comments","events_url":"https://api.github.com/repos/lukemurray/data-atom/issues/80/events","html_url":"https://github.com/lukemurray/data-atom/issues/80","id":166168521,"number":80,"title":"Uncaught TypeError: Cannot read property 'rows' of undefined","user":{"login":"niDAH","id":8196120,"avatar_url":"https://avatars.githubusercontent.com/u/8196120?v=3","gravatar_id":"","url":"https://api.github.com/users/niDAH","html_url":"https://github.com/niDAH","followers_url":"https://api.github.com/users/niDAH/followers","following_url":"https://api.github.com/users/niDAH/following{/other_user}","gists_url":"https://api.github.com/users/niDAH/gists{/gist_id}","starred_url":"https://api.github.com/users/niDAH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niDAH/subscriptions","organizations_url":"https://api.github.com/users/niDAH/orgs","repos_url":"https://api.github.com/users/niDAH/repos","events_url":"https://api.github.com/users/niDAH/events{/privacy}","received_events_url":"https://api.github.com/users/niDAH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lukemurray/data-atom/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-18T19:05:36Z","updated_at":"2016-08-01T12:36:05Z","closed_at":"2016-08-01T04:47:27Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. Click \"F5\"\r\n2. Select connection\r\n\r\n**Atom Version**: 1.8.0\r\n**System**: Mac OS X 10.11.5\r\n**Thrown From**: [data-atom](https://github.com/lukemurray/data-atom) package, v0.21.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'rows' of undefined\r\n\r\n```\r\nAt /Users/xxx/.atom/packages/data-atom/lib/data-managers/sqlserver-manager.js:144\r\n\r\nTypeError: Cannot read property 'rows' of undefined\r\n    at /Users/xxx/.atom/packages/data-atom/lib/data-managers/sqlserver-manager.js:144:38\r\n    at /Users/xxx/.atom/packages/data-atom/lib/data-managers/sqlserver-manager.js:26:13\r\n    at /Users/xxx/.atom/packages/data-atom/node_modules/mssql/lib/main.js:288:20\r\n    at /Users/xxx/.atom/packages/data-atom/node_modules/mssql/lib/tedious.js:432:20\r\n    at /Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/generic-pool/lib/generic-pool.js:347:9\r\n    at Connection.<anonymous> (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/lib/tedious.js:383:24)\r\n    at Connection.g (events.js:260:16)\r\n    at emitNone (events.js:67:13)\r\n    at Connection.emit (events.js:166:7)\r\n    at Connection.processedInitialSql (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/connection.js:663:19)\r\n    at Connection.message (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/connection.js:1150:21)\r\n    at Connection.dispatchEvent (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/connection.js:519:45)\r\n    at MessageIO.<anonymous> (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/connection.js:439:23)\r\n    at emitNone (events.js:67:13)\r\n    at MessageIO.emit (events.js:166:7)\r\n    at ReadablePacketStream.<anonymous> (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/message-io.js:92:15)\r\n    at emitOne (events.js:77:13)\r\n    at ReadablePacketStream.emit (events.js:169:7)\r\n    at readableAddChunk (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_readable.js:198:18)\r\n    at ReadablePacketStream.Readable.push (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_readable.js:157:10)\r\n    at ReadablePacketStream.Transform.push (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_transform.js:123:32)\r\n    at ReadablePacketStream._transform (/Users/xxx/.atom/packages/data-atom/node_modules/mssql/node_modules/tedious/lib/message-io.js:57:16)\r\n    at ReadablePacketStream.Transform._read (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_transform.js:159:10)\r\n    at ReadablePacketStream.Transform._write (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_transform.js:147:83)\r\n    at doWrite (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_writable.js:313:64)\r\n    at writeOrBuffer (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_writable.js:302:5)\r\n    at ReadablePacketStream.Writable.write (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/nodegit/node_modules/readable-stream/lib/_stream_writable.js:241:11)\r\n    at Socket.ondata (_stream_readable.js:528:20)\r\n    at emitOne (events.js:77:13)\r\n    at Socket.emit (events.js:169:7)\r\n    at readableAddChunk (_stream_readable.js:146:16)\r\n    at Socket.Readable.push (_stream_readable.js:110:10)\r\n    at TCP.onread (net.js:523:20)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -9:32.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -6:27.4.0 core:move-to-top (atom-text-editor.editor.is-focused)\r\n  9x -6:26.8.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  2x -6:25.2.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -6:24.3.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)\r\n     -6:23.5.0 core:copy (atom-text-editor.editor.is-focused)\r\n  3x -4:37.9.0 core:close (atom-text-editor.editor.is-focused)\r\n     -4:33.8.0 tree-view:toggle (atom-workspace.workspace.scrollbars-visible-always.seti-icons.seti-roboto.seti-animate.theme-an-old-hope-syntax.theme-seti-ui)\r\n     -0:21.3.0 fuzzy-finder:toggle-file-finder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -0:19.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -0:19.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -0:18 data-atom:execute (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -0:07.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)\r\n     -0:06.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -0:06.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -0:06.4.0 data-atom:execute (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"jslint\",\r\n      \"linter-cflint\",\r\n      \"remote-edit\",\r\n      \"file-icons\",\r\n      \"selector-to-tag\"\r\n    ],\r\n    \"themes\": [\r\n      \"seti-ui\",\r\n      \"an-old-hope-syntax\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nan-old-hope-syntax, v0.5.0\r\nangularjs, v0.3.4\r\natom-beautify, v0.29.9\r\ndata-atom, v0.21.0\r\njshint, v1.8.5\r\nlanguage-cfml, v0.14.0\r\nlinter, v1.11.14\r\nseti-ui, v1.3.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lukemurray/data-atom/issues/comments/236568685","html_url":"https://github.com/lukemurray/data-atom/issues/80#issuecomment-236568685","issue_url":"https://api.github.com/repos/lukemurray/data-atom/issues/80","id":236568685,"user":{"login":"niDAH","id":8196120,"avatar_url":"https://avatars.githubusercontent.com/u/8196120?v=3","gravatar_id":"","url":"https://api.github.com/users/niDAH","html_url":"https://github.com/niDAH","followers_url":"https://api.github.com/users/niDAH/followers","following_url":"https://api.github.com/users/niDAH/following{/other_user}","gists_url":"https://api.github.com/users/niDAH/gists{/gist_id}","starred_url":"https://api.github.com/users/niDAH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niDAH/subscriptions","organizations_url":"https://api.github.com/users/niDAH/orgs","repos_url":"https://api.github.com/users/niDAH/repos","events_url":"https://api.github.com/users/niDAH/events{/privacy}","received_events_url":"https://api.github.com/users/niDAH/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T12:36:05Z","updated_at":"2016-08-01T12:36:05Z","body":"0.22.0 did in fact take care of it, thank you!\r\n\r\nThe issue was happening when I started data-atom (clicking F5) and selected SQL Server and my saved connection, but before I did a query. Running any query seemed to work after the error showed up. The version of SQL server I was connected to is 2008 v2.\r\n\r\nThanks for addressing the bug, your package is a godsend for me!"}}
{"actor":{"display_login":"niDAH"}}