Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1416

Closed
Open
Created Sep 10, 2012 by Administrator@rootOwner

/<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:     &ndash;
    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'
Assignee
Assign to
Time tracking