{"action":"created","issue":{"url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/9","repository_url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial","labels_url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/9/comments","events_url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/9/events","html_url":"https://github.com/SonarQubeCommunity/sonar-scm-mercurial/pull/9","id":346577973,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NDA4MTEz","number":9,"title":"Fixed out of bounds exception","user":{"login":"ThE-TiGeR","id":4369528,"node_id":"MDQ6VXNlcjQzNjk1Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/4369528?v=4","gravatar_id":"","url":"https://api.github.com/users/ThE-TiGeR","html_url":"https://github.com/ThE-TiGeR","followers_url":"https://api.github.com/users/ThE-TiGeR/followers","following_url":"https://api.github.com/users/ThE-TiGeR/following{/other_user}","gists_url":"https://api.github.com/users/ThE-TiGeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ThE-TiGeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThE-TiGeR/subscriptions","organizations_url":"https://api.github.com/users/ThE-TiGeR/orgs","repos_url":"https://api.github.com/users/ThE-TiGeR/repos","events_url":"https://api.github.com/users/ThE-TiGeR/events{/privacy}","received_events_url":"https://api.github.com/users/ThE-TiGeR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T12:27:12Z","updated_at":"2018-08-03T12:32:26Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/pulls/9","html_url":"https://github.com/SonarQubeCommunity/sonar-scm-mercurial/pull/9","diff_url":"https://github.com/SonarQubeCommunity/sonar-scm-mercurial/pull/9.diff","patch_url":"https://github.com/SonarQubeCommunity/sonar-scm-mercurial/pull/9.patch"},"body":"INFO: java.lang.ArrayIndexOutOfBoundsException: -1\r\nINFO: at java.util.ArrayList.elementData(Unknown Source)\r\nINFO: at java.util.ArrayList.get(Unknown Source)\r\nINFO: at org.sonar.plugins.scm.mercurial.MercurialBlameCommand.blame(MercurialBlameCommand.java:104)\r\nINFO: at org.sonar.plugins.scm.mercurial.MercurialBlameCommand.access$000(MercurialBlameCommand.java:42)\r\nINFO: at org.sonar.plugins.scm.mercurial.MercurialBlameCommand$1.call(MercurialBlameCommand.java:83)\r\nINFO: at org.sonar.plugins.scm.mercurial.MercurialBlameCommand$1.call(MercurialBlameCommand.java:80)\r\n\r\nThis happens if blame fails (e.g. file not under version control) and the source file has only one line of code"},"comment":{"url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/comments/410239351","html_url":"https://github.com/SonarQubeCommunity/sonar-scm-mercurial/pull/9#issuecomment-410239351","issue_url":"https://api.github.com/repos/SonarQubeCommunity/sonar-scm-mercurial/issues/9","id":410239351,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDIzOTM1MQ==","user":{"login":"simonbrandhof","id":414010,"node_id":"MDQ6VXNlcjQxNDAxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/414010?v=4","gravatar_id":"","url":"https://api.github.com/users/simonbrandhof","html_url":"https://github.com/simonbrandhof","followers_url":"https://api.github.com/users/simonbrandhof/followers","following_url":"https://api.github.com/users/simonbrandhof/following{/other_user}","gists_url":"https://api.github.com/users/simonbrandhof/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbrandhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbrandhof/subscriptions","organizations_url":"https://api.github.com/users/simonbrandhof/orgs","repos_url":"https://api.github.com/users/simonbrandhof/repos","events_url":"https://api.github.com/users/simonbrandhof/events{/privacy}","received_events_url":"https://api.github.com/users/simonbrandhof/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T12:32:26Z","updated_at":"2018-08-03T12:32:26Z","author_association":"MEMBER","body":"Thanks for the contribution. Would it possible to add a unit test ?"}}
{"actor":{"display_login":"simonbrandhof"}}