{"action":"created","issue":{"url":"https://api.github.com/repos/ionide/ionide-fsi/issues/32","repository_url":"https://api.github.com/repos/ionide/ionide-fsi","labels_url":"https://api.github.com/repos/ionide/ionide-fsi/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ionide/ionide-fsi/issues/32/comments","events_url":"https://api.github.com/repos/ionide/ionide-fsi/issues/32/events","html_url":"https://github.com/ionide/ionide-fsi/issues/32","id":155945385,"number":32,"title":"Uncaught TypeError: Cannot read property 'result' of null","user":{"login":"kirill-gerasimenko","id":3036330,"avatar_url":"https://avatars.githubusercontent.com/u/3036330?v=3","gravatar_id":"","url":"https://api.github.com/users/kirill-gerasimenko","html_url":"https://github.com/kirill-gerasimenko","followers_url":"https://api.github.com/users/kirill-gerasimenko/followers","following_url":"https://api.github.com/users/kirill-gerasimenko/following{/other_user}","gists_url":"https://api.github.com/users/kirill-gerasimenko/gists{/gist_id}","starred_url":"https://api.github.com/users/kirill-gerasimenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirill-gerasimenko/subscriptions","organizations_url":"https://api.github.com/users/kirill-gerasimenko/orgs","repos_url":"https://api.github.com/users/kirill-gerasimenko/repos","events_url":"https://api.github.com/users/kirill-gerasimenko/events{/privacy}","received_events_url":"https://api.github.com/users/kirill-gerasimenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ionide/ionide-fsi/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-20T11:46:03Z","updated_at":"2016-06-02T03:23:53Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Create empty folder\r\n2. Run \"atom .\"\r\n3. From atom -> create new file, name it main.fsx\r\n4. Write there some code like \"let x= 10\", select the line with code, press Alt+Enter\r\n5. FSI window is opened, code is evaluated fine, but error message appears.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3036330/15426794/293929a0-1e91-11e6-88a3-af02c93058c7.png)\r\n\r\n**Atom Version**: 1.7.3\r\n**System**: Microsoft Windows 10 Enterprise\r\n**Thrown From**: [ionide-fsi](https://github.com/Ionide/ionide-fsi) package, v2.0.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'result' of null\r\n\r\n```\r\nAt C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:2188\r\n\r\nTypeError: Cannot read property 'result' of null\r\n    at Result_1_Unit__GeneratedCompareToUnit_ (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:2188:31)\r\n    at C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:1351:58\r\n    at [object Object].cont (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:139:28)\r\n    at [object Object].ExceptionCont (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:307:18)\r\n    at Async__protectedCont$Result_1_Unit_Result_1_Unit_ (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:549:27)\r\n    at cont (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:211:16)\r\n    at onReceived (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:3690:16)\r\n    at XMLHttpRequest.req.onreadystatechange (C:\\Users\\kgerasimenko\\.atom\\packages\\ionide-fsi\\lib\\fsi.js:3790:21)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:13.3.0 advanced-open-file:toggle (atom-pane.pane.active)\r\n     -0:07.8.0 core:confirm (atom-text-editor.path-input.mini.is-focused)\r\n     -0:06.8.0 vim-mode:activate-insert-mode (atom-text-editor.editor.vim-mode.normal-mode.is-focused)\r\n     -0:04.3.0 core:backspace (atom-text-editor.editor.vim-mode.is-focused.insert-mode)\r\n     -0:03.3.0 vim-mode:activate-normal-mode (atom-text-editor.editor.vim-mode.is-focused.insert-mode)\r\n     -0:02.8.0 vim-mode:activate-linewise-visual-mode (atom-text-editor.editor.vim-mode.is-focused.normal-mode)\r\n     -0:02.3.0 FSI:Send-Selection (atom-text-editor.editor.vim-mode.is-focused.visual-mode)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"autoHideMenuBar\": true,\r\n    \"disabledPackages\": [\r\n      \"browser-plus\",\r\n      \"advanced-new-file\",\r\n      \"spell-check\",\r\n      \"atom-panels\"\r\n    ],\r\n    \"packagesWithKeymapsDisabled\": [\r\n      \"advanced-new-file\",\r\n      \"omnisharp-atom\",\r\n      \"close-other-panes\"\r\n    ],\r\n    \"projectHome\": \"d:\\\\projects\"\r\n  },\r\n  \"ionide-fsi\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nadvanced-open-file, v0.16.2\r\natom-yeoman, v0.3.15\r\nionide-fake, v1.2.2\r\nionide-fsharp, v1.9.0\r\nionide-fsi, v2.0.1\r\nionide-installer, v1.3.0\r\nionide-paket, v2.2.6\r\nionide-webview, v1.0.3\r\nionide-yeoman, v1.0.2\r\njson-schema, v0.1.15\r\nlanguage-cshtml, v0.1.1\r\nlinter, v1.11.4\r\nminimap, v4.23.5\r\nomnisharp-atom, v0.29.3\r\npackage-sync, v1.1.0\r\npretty-json, v1.2.0\r\ntool-bar, v0.4.0\r\ntool-bar-atom, v1.4.0\r\nvim-mode, v0.65.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ionide/ionide-fsi/issues/comments/223186084","html_url":"https://github.com/ionide/ionide-fsi/issues/32#issuecomment-223186084","issue_url":"https://api.github.com/repos/ionide/ionide-fsi/issues/32","id":223186084,"user":{"login":"jtsinnott","id":1731602,"avatar_url":"https://avatars.githubusercontent.com/u/1731602?v=3","gravatar_id":"","url":"https://api.github.com/users/jtsinnott","html_url":"https://github.com/jtsinnott","followers_url":"https://api.github.com/users/jtsinnott/followers","following_url":"https://api.github.com/users/jtsinnott/following{/other_user}","gists_url":"https://api.github.com/users/jtsinnott/gists{/gist_id}","starred_url":"https://api.github.com/users/jtsinnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtsinnott/subscriptions","organizations_url":"https://api.github.com/users/jtsinnott/orgs","repos_url":"https://api.github.com/users/jtsinnott/repos","events_url":"https://api.github.com/users/jtsinnott/events{/privacy}","received_events_url":"https://api.github.com/users/jtsinnott/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T03:23:53Z","updated_at":"2016-06-02T03:23:53Z","body":"Confirmed that the patch above worked for me as well."}}
{"actor":{"display_login":"jtsinnott"}}