Suddenly started to get 500 error on a commit which I already added a few comments on earlier
Created by: ajay1609
Hey, 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.
Following is the production log
.... .... ... Rendered projects/commit/show.html.haml within layouts/projects (913.5ms) Completed 500 Internal Server Error in 1093ms
ActionView::Template::Error (no implicit conversion of nil into String):
1: - note = notes.first # example note
2: -# Check if line want not changed since comment was left
3: - if !defined?(line) || line == note.diff_line
4: %tr.notes_holder
5: %td.notes_line{ colspan: 2 }
6: %span.btn.disabled
lib/gitlab/diff_parser.rb:69:in digest' lib/gitlab/diff_parser.rb:69:in
hexdigest'
Please let me know what went wrong.
Regards Ajay