/<proj>/commits - We're sorry, but something went wrong. (500)
Created by: pnull
I'm getting the 500 "We're sorry, but something went wrong." message when opening commit log on one of many projects in my gitlab installation. the commit logs for all other projects are working well.
This is the content of production.log which is written when trying to load the commit log page:
Started GET "/inobas-ias/commits" for 127.0.0.1 at 2012-09-10 08:47:03 +0200
Processing by CommitsController#index as HTML
Parameters: {"project_id"=>"inobas-ias"}
Rendered commits/_head.html.haml (8.8ms)
Rendered commits/_commit.html.haml (25.0ms)
Rendered commits/_commit.html.haml (69.5ms)
Rendered commits/_commit.html.haml (62.2ms)
Rendered commits/_commit.html.haml (100.3ms)
Rendered commits/_commit.html.haml (127.2ms)
Rendered commits/_commit.html.haml (24.7ms)
Rendered commits/_commit.html.haml (76.8ms)
Rendered commits/_commit.html.haml (25.0ms)
Rendered commits/_commit.html.haml (53.5ms)
Rendered commits/_commits.html.haml (686.0ms)
Rendered commits/index.html.haml within layouts/project (696.3ms)
Completed 500 Internal Server Error in 812ms
ActionView::Template::Error (undefined method `gsub!' for nil:NilClass):
7: %strong.cgray= commit.author_name
8: –
9: = image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
10: = link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, id: commit.id), class: "row_title"
11:
12: %span.committed_ago
13: = time_ago_in_words(commit.committed_date)
app/helpers/gitlab_markdown_helper.rb:32:in `link_to_gfm'
app/views/commits/_commit.html.haml:10:in `_app_views_commits__commit_html_haml__3283717035817750824_71125540'
app/views/commits/_commits.html.haml:6:in `block in _app_views_commits__commits_html_haml__2588400732815145605_71341560'
app/views/commits/_commits.html.haml:1:in `each'
app/views/commits/_commits.html.haml:1:in `_app_views_commits__commits_html_haml__2588400732815145605_71341560'
app/views/commits/index.html.haml:15:in `_app_views_commits_index_html_haml___1362793438925980483_85371860'
app/controllers/commits_controller.rb:22:in `index'