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
  • #7255

Closed
Open
Created Jul 03, 2014 by Administrator@rootOwner

500 error on branch commits page

Created by: Bernie

I've been receiving a 500 error on a majority of the projects and branches in my GitLab server whenever I attempt to view each of their commits page.

The stack trace found in the application.log file whenever these errors occur is as follows:

Completed 500 Internal Server Error in 308ms

ActionView::Template::Error (undefined method `gsub' for nil:NilClass):
    3:     = link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id"
    4:      
    5:     %span.str-truncated
    6:       = link_to_gfm commit.title, project_commit_path(project, commit.id), class: "commit-row-message"
    7:       - if commit.description?
    8:         %a.text-expander.js-toggle-button ...
    9:
  app/helpers/issues_helper.rb:48:in `url_for_issue'
  lib/gitlab/markdown.rb:230:in `reference_jira_issue'
  lib/gitlab/markdown.rb:193:in `reference_issue'
  lib/gitlab/markdown.rb:168:in `reference_link'
  lib/gitlab/markdown.rb:128:in `block in parse_references'
  lib/gitlab/markdown.rb:117:in `gsub!'
  lib/gitlab/markdown.rb:117:in `parse_references'
  lib/gitlab/markdown.rb:93:in `parse'
  lib/gitlab/markdown.rb:58:in `gfm'
  app/helpers/gitlab_markdown_helper.rb:22:in `link_to_gfm'
  app/views/projects/commits/_commit.html.haml:6:in `_app_views_projects_commits__commit_html_haml___2363675535213975512_35883920'
  app/views/projects/commits/_commits.html.haml:10:in `block in _app_views_projects_commits__commits_html_haml__4203833759530794817_36145860'
  app/views/projects/commits/_commits.html.haml:1:in `each'
  app/views/projects/commits/_commits.html.haml:1:in `_app_views_projects_commits__commits_html_haml__4203833759530794817_36145860'
  app/views/projects/commits/show.html.haml:18:in `_app_views_projects_commits_show_html_haml__1407712533493851499_37628380'
  app/controllers/projects/commits_controller.rb:17:in `show'

Any assistance in solving this matter would be greatly appreciated.

Assignee
Assign to
Time tracking