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

Closed
Open
Created Feb 16, 2014 by Administrator@rootOwner

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:inhexdigest'

Please let me know what went wrong.

Regards Ajay

Assignee
Assign to
Time tracking