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

Closed
Open
Created Mar 21, 2012 by Administrator@rootOwner

Long waiting and 500 for result

Created by: plamen-nikolov

gitlabhq 2.3 pre. Pulled yesterday from master branch

I am trying to view old commit for my project. Steps:

  1. choose the project.
  2. select the file
  3. Press "History" link
  4. Select the old commit.

waiting......about 3 minutes and...

Started GET "/project/commits/3ab18d18f348fb4b3d00fbe55737719162e1ebaf" for 127.0.0.1 at 2012-03-21 17:56:59 +0200
Processing by CommitsController#show as HTML
  Parameters: {"project_id"=>"project", "id"=>"3ab18d18f348fb4b3d00fbe55737719162e1ebaf"}
  Rendered commits/_diff_head.html.haml (1681.7ms)
  Rendered commits/_text_file.html.haml (102.3ms)
  Rendered commits/_text_file.html.haml (95.4ms)
  Rendered commits/_text_file.html.haml (196.2ms)
  Rendered commits/_text_file.html.haml (96.1ms)
  Rendered commits/_text_file.html.haml (86.1ms)
  Rendered commits/_text_file.html.haml (25.2ms)
  Rendered commits/_text_file.html.haml (134.6ms)
  Rendered commits/_text_file.html.haml (125.5ms)
  Rendered commits/_text_file.html.haml (214.0ms)
  Rendered commits/_text_file.html.haml (215.7ms)
  Rendered commits/_text_file.html.haml (36.7ms)
  Rendered commits/_text_file.html.haml (30.7ms)
  Rendered commits/_text_file.html.haml (41.4ms)
  Rendered commits/_text_file.html.haml (102.1ms)
  Rendered commits/_text_file.html.haml (49.0ms)
  Rendered commits/_text_file.html.haml (155.9ms)
  Rendered commits/_text_file.html.haml (137.9ms)
  Rendered commits/_text_file.html.haml (28.2ms)
  Rendered commits/_text_file.html.haml (46.7ms)
  Rendered commits/_text_file.html.haml (162.7ms)
  Rendered commits/_text_file.html.haml (608.6ms)
  Rendered commits/_text_file.html.haml (419.6ms)
  Rendered commits/_text_file.html.haml (360.0ms)
  Rendered commits/_text_file.html.haml (44.3ms)
  Rendered commits/_text_file.html.haml (173.3ms)
  Rendered commits/_text_file.html.haml (65.7ms)
  Rendered commits/_text_file.html.haml (13.4ms)
  Rendered commits/_text_file.html.haml (228.9ms)
  Rendered commits/_text_file.html.haml (184.0ms)
  Rendered commits/_text_file.html.haml (21.7ms)
  Rendered commits/_text_file.html.haml (13.6ms)
  Rendered commits/_text_file.html.haml (188.3ms)
  Rendered commits/_text_file.html.haml (1.8ms)
  Rendered commits/_text_file.html.haml (24.6ms)
  Rendered commits/_text_file.html.haml (209.0ms)
  Rendered commits/_text_file.html.haml (9.3ms)
  Rendered commits/_text_file.html.haml (168.3ms)
  Rendered commits/_text_file.html.haml (106.5ms)
  Rendered commits/_text_file.html.haml (166.2ms)
  Rendered commits/_text_file.html.haml (242.1ms)
  Rendered commits/_diffs.html.haml (59950.2ms)
  Rendered commits/show.html.haml within layouts/project (64330.0ms)
Completed 500 Internal Server Error in 64654ms

ActionView::Template::Error (undefined method `tree' for nil:NilClass):
    4: - diffs.each_with_index do |diff, i|
    5:   - next if diff.diff.empty?
    6:   - file = (@commit.tree / diff.b_path)
    7:   - file = (@commit.prev_commit.tree / diff.a_path) unless file
    8:   - next unless file
    9:   .diff_file
    10:     .diff_file_header
  app/views/commits/_diffs.html.haml:7:in `block in _app_views_commits__diffs_html_haml___3532837411274175440_18995060'
  app/views/commits/_diffs.html.haml:4:in `each'
  app/views/commits/_diffs.html.haml:4:in `each_with_index'
  app/views/commits/_diffs.html.haml:4:in `_app_views_commits__diffs_html_haml___3532837411274175440_18995060'
  app/views/commits/show.html.haml:23:in `_app_views_commits_show_html_haml__4396496320643383905_43064520'
Assignee
Assign to
Time tracking