{"action":"closed","issue":{"url":"https://api.github.com/repos/getgauge/gauge-js/issues/101","repository_url":"https://api.github.com/repos/getgauge/gauge-js","labels_url":"https://api.github.com/repos/getgauge/gauge-js/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/getgauge/gauge-js/issues/101/comments","events_url":"https://api.github.com/repos/getgauge/gauge-js/issues/101/events","html_url":"https://github.com/getgauge/gauge-js/issues/101","id":290351625,"number":101,"title":"Cannot read property 'fn' of undefined","user":{"login":"sguptatw","id":6310197,"avatar_url":"https://avatars0.githubusercontent.com/u/6310197?v=4","gravatar_id":"","url":"https://api.github.com/users/sguptatw","html_url":"https://github.com/sguptatw","followers_url":"https://api.github.com/users/sguptatw/followers","following_url":"https://api.github.com/users/sguptatw/following{/other_user}","gists_url":"https://api.github.com/users/sguptatw/gists{/gist_id}","starred_url":"https://api.github.com/users/sguptatw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sguptatw/subscriptions","organizations_url":"https://api.github.com/users/sguptatw/orgs","repos_url":"https://api.github.com/users/sguptatw/repos","events_url":"https://api.github.com/users/sguptatw/events{/privacy}","received_events_url":"https://api.github.com/users/sguptatw/received_events","type":"User","site_admin":false},"labels":[{"id":276119520,"url":"https://api.github.com/repos/getgauge/gauge-js/labels/bug","name":"bug","color":"fc2929","default":true},{"id":743164377,"url":"https://api.github.com/repos/getgauge/gauge-js/labels/ready%20for%20QA","name":"ready for QA","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-22T05:01:57Z","updated_at":"2018-02-06T05:31:54Z","closed_at":"2018-02-06T05:31:54Z","author_association":"CONTRIBUTOR","body":"Getting the following error on executing specs\r\n```\r\nnew Test(step.fn, parameters, timeout).run().then(\r\n                ^\r\n\r\nTypeError: Cannot read property 'fn' of undefined\r\n    at Object.executeStep [as step] (...\\AppData\\Roaming\\gauge\\plugins\\js\\2.1.1.nightly-2018-01-16\\src\\executor.js:46:17)\r\n    at MessageProcessor.executeStep (...\\AppData\\Roaming\\gauge\\plugins\\js\\2.1.1.nightly-2018-01-16\\src\\message-processor.js:34:26)\r\n    at MessageProcessor.getResponseFor (...\\AppData\\Roaming\\gauge\\plugins\\js\\2.1.1.nightly-2018-01-16\\src\\message-processor.js:197:40)\r\n    at ExecutionConnection.<anonymous> (...\\AppData\\Roaming\\gauge\\plugins\\js\\2.1.1.nightly-2018-01-16\\src\\gauge.js:23:17)\r\n    at ExecutionConnection.emit (events.js:159:13)\r\n    at Socket.messageHandler (...\\AppData\\Roaming\\gauge\\plugins\\js\\2.1.1.nightly-2018-01-16\\src\\connection.js:17:10)\r\n    at Socket.emit (events.js:159:13)\r\n    at addChunk (_stream_readable.js:265:12)\r\n    at readableAddChunk (_stream_readable.js:252:11)\r\n    at Socket.Readable.push (_stream_readable.js:209:10)\r\n\r\n        Error Message: write tcp 127.0.0.1:65478->127.0.0.1:65483: use of closed network connection\r\n        Stacktrace:\r\n\r\n\r\n        Error Message: write tcp 127.0.0.1:65478->127.0.0.1:65483: use of closed network connection\r\n        Stacktrace:\r\n\r\n\r\n        Error Message: write tcp 127.0.0.1:65478->127.0.0.1:65483: use of closed network connection\r\n        Stacktrace:\r\n\r\n\r\n        Failed Step: goto definition of step \"Concept2\" in \"/specs/concept_definition.spec\" at \"4\" and \"4\" should give details \"specs/gotodefinition/concept.yaml\"\r\n        Specification: specs\\gotodefinition\\goto a concept.spec:8\r\n        Error Message: Connection closed [127.0.0.1:65483] cause: read tcp 127.0.0.1:65478->127.0.0.1:65483: wsarecv: An existing connection was forcibly closed by the remote host.\r\n        Stacktrace:\r\n\r\n\r\n    Error Message: write tcp 127.0.0.1:65478->127.0.0.1:65483: use of closed network connection\r\n    Stacktrace:\r\n\r\n\r\n  Error Message: write tcp 127.0.0.1:65478->127.0.0.1:65483: use of closed network connection\r\n  Stacktrace:\r\n```\r\n**Steps to replicate**\r\n* Run spec - Goto a step definition from project -\r\n[gauge-lsp-tests.zip](https://github.com/getgauge/gauge-js/files/1650782/gauge-lsp-tests.zip)\r\n\r\n**Version**\r\n```\r\nGauge version: 0.9.8.nightly-2018-01-19\r\nCommit Hash: 0c66ca4\r\n\r\nPlugins\r\n-------\r\njs (2.1.1.nightly-2018-01-16)\r\n```"}}
{"actor":{"display_login":"sguptatw"}}