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

Closed
Open
Created Mar 21, 2013 by Administrator@rootOwner

ActionView::Template::Error (undefined method `[]' for nil:NilClass) on Commit View

Created by: saschagrunert

Hi there, GitLab 5.0 works fine, but if i try to view my commits i get the following error:

ActionView::Template::Error (undefined method []' for nil:NilClass): 2: 3: %p.pull-right.cgray 4: This commit has 5: %span.cgreen #{@commit.stats.additions} additions 6: and 7: %span.cred #{@commit.stats.deletions} deletions 8: app/models/commit.rb:13:instats' app/views/commit/show.html.haml:5:in `_app_views_commit_show_html_haml___2602992876537253354_17289544120'

Started GET "/static.css" for 217.235.67.234 at 2013-03-21 20:06:42 +0100 Processing by ProjectsController#show as HTML Parameters: {"id"=>"static.css"} Rendered public/404.html (0.4ms) Filter chain halted as :project rendered or redirected Completed 404 Not Found in 29ms (Views: 25.2ms | ActiveRecord: 0.7ms)

Any ideas? =) Thank you! Great work.

Assignee
Assign to
Time tracking