{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/6338","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/6338/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/6338/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/6338/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/6338","id":27679933,"number":6338,"title":"Suddenly started to get 500 error on a commit which I already added a few comments on earlier","user":{"login":"ajay1609","id":5873900,"avatar_url":"https://avatars.githubusercontent.com/u/5873900?v=3","gravatar_id":"","url":"https://api.github.com/users/ajay1609","html_url":"https://github.com/ajay1609","followers_url":"https://api.github.com/users/ajay1609/followers","following_url":"https://api.github.com/users/ajay1609/following{/other_user}","gists_url":"https://api.github.com/users/ajay1609/gists{/gist_id}","starred_url":"https://api.github.com/users/ajay1609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajay1609/subscriptions","organizations_url":"https://api.github.com/users/ajay1609/orgs","repos_url":"https://api.github.com/users/ajay1609/repos","events_url":"https://api.github.com/users/ajay1609/events{/privacy}","received_events_url":"https://api.github.com/users/ajay1609/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-02-16T19:44:49Z","updated_at":"2015-05-10T15:29:27Z","closed_at":"2015-05-10T15:29:27Z","body":"Hey,\r\n I am using Gitlab 6.0 and was doing a code review on a commit. When I reopened that commit after sometime, It started giving me an error 500, We are sorry but something went wrong ,error.. Please note that this is happening only for this particular commit and not for any other commits in the repository.\r\n\r\nFollowing is the production log\r\n-------------\r\n....\r\n....\r\n...\r\n  Rendered projects/commit/show.html.haml within layouts/projects (913.5ms)\r\nCompleted 500 Internal Server Error in 1093ms\r\n\r\nActionView::Template::Error (no implicit conversion of nil into String):\r\n    1: - note = notes.first # example note\r\n    2: -# Check if line want not changed since comment was left\r\n    3: - if !defined?(line) || line == note.diff_line\r\n    4:   %tr.notes_holder\r\n    5:     %td.notes_line{ colspan: 2 }\r\n    6:       %span.btn.disabled\r\n  lib/gitlab/diff_parser.rb:69:in `digest'\r\n  lib/gitlab/diff_parser.rb:69:in `hexdigest'\r\n\r\nPlease let me know what went wrong.\r\n\r\nRegards\r\nAjay"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/100655793","html_url":"https://github.com/gitlabhq/gitlabhq/issues/6338#issuecomment-100655793","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/6338","id":100655793,"user":{"login":"Razer6","id":278301,"avatar_url":"https://avatars.githubusercontent.com/u/278301?v=3","gravatar_id":"","url":"https://api.github.com/users/Razer6","html_url":"https://github.com/Razer6","followers_url":"https://api.github.com/users/Razer6/followers","following_url":"https://api.github.com/users/Razer6/following{/other_user}","gists_url":"https://api.github.com/users/Razer6/gists{/gist_id}","starred_url":"https://api.github.com/users/Razer6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razer6/subscriptions","organizations_url":"https://api.github.com/users/Razer6/orgs","repos_url":"https://api.github.com/users/Razer6/repos","events_url":"https://api.github.com/users/Razer6/events{/privacy}","received_events_url":"https://api.github.com/users/Razer6/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T15:29:27Z","updated_at":"2015-05-10T15:29:27Z","body":"Thanks for the issue report. This issue has already been fixed in newer versions of GitLab. Due to the size of this project and our limited resources we are only able to support the latest stable release as outlined in our [contributing guidelines](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#issue-tracker). In order to get this bug fix and enjoy many new features please [upgrade](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/update). If you still experience issues at that time please open a new issue following our issue tracker guidelines found in the [contributing guidelines](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#issue-tracker-guidelines)."}}