{"action":"created","issue":{"url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/160","repository_url":"https://api.github.com/repos/krampstudio/grunt-jsdoc","labels_url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/160/comments","events_url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/160/events","html_url":"https://github.com/krampstudio/grunt-jsdoc/issues/160","id":135731497,"number":160,"title":"Cannot read property '0' of null","user":{"login":"julmot","id":8310677,"avatar_url":"https://avatars.githubusercontent.com/u/8310677?v=3","gravatar_id":"","url":"https://api.github.com/users/julmot","html_url":"https://github.com/julmot","followers_url":"https://api.github.com/users/julmot/followers","following_url":"https://api.github.com/users/julmot/following{/other_user}","gists_url":"https://api.github.com/users/julmot/gists{/gist_id}","starred_url":"https://api.github.com/users/julmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julmot/subscriptions","organizations_url":"https://api.github.com/users/julmot/orgs","repos_url":"https://api.github.com/users/julmot/repos","events_url":"https://api.github.com/users/julmot/events{/privacy}","received_events_url":"https://api.github.com/users/julmot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T13:04:20Z","updated_at":"2016-04-24T13:47:39Z","closed_at":null,"body":"Gruntfile.js\r\n```javascript\r\n\t\tjsdoc: {\r\n\t\t\tdist: {\r\n\t\t\t\tsrc: ['src/myfile.js'],\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tdestination: 'doc'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n```\r\n\r\nmyfile.js:\r\n```javascript\r\n/**\r\n * supply - description\r\n *\r\n * @param  {number} a description\r\n * @param  {number} b description\r\n * @return {number}   description\r\n */\r\nfunction supply(a, b){\r\n\treturn a * b;\r\n}\r\n```\r\n\r\nRunning `grunt jsdoc` will result:\r\n\r\n![jsdoc_warning](https://cloud.githubusercontent.com/assets/8310677/13252285/2e8ab6fc-da36-11e5-83d1-317863590c6e.png)\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31171564-cannot-read-property-0-of-null?utm_campaign=plugin&utm_content=tracker%2F294645&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F294645&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/comments/213960148","html_url":"https://github.com/krampstudio/grunt-jsdoc/issues/160#issuecomment-213960148","issue_url":"https://api.github.com/repos/krampstudio/grunt-jsdoc/issues/160","id":213960148,"user":{"login":"krampstudio","id":468620,"avatar_url":"https://avatars.githubusercontent.com/u/468620?v=3","gravatar_id":"","url":"https://api.github.com/users/krampstudio","html_url":"https://github.com/krampstudio","followers_url":"https://api.github.com/users/krampstudio/followers","following_url":"https://api.github.com/users/krampstudio/following{/other_user}","gists_url":"https://api.github.com/users/krampstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/krampstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krampstudio/subscriptions","organizations_url":"https://api.github.com/users/krampstudio/orgs","repos_url":"https://api.github.com/users/krampstudio/repos","events_url":"https://api.github.com/users/krampstudio/events{/privacy}","received_events_url":"https://api.github.com/users/krampstudio/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T13:47:39Z","updated_at":"2016-04-24T13:47:39Z","body":"Hi, the error seems to be outside the jsdoc plugin definition, could you paste the whole Gruntfile.js please ?"}}