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

Closed
Open
Created Feb 20, 2013 by Administrator@rootOwner

projects_controller throws exception

Created by: serdarb

Hi,

I corropted a commit in one of my branches and after that projects home page on gitlab can't loaded...

If I undestand correct commit date had a problem...

I am using 4.2 version.

I got this exception.

Served asset /ajax_loader_gray.gif - 200 OK (0ms) Completed 200 OK in 554ms (Views: 0.2ms | ActiveRecord: 1.7ms) Started GET "/portal" for 127.0.0.1 at 2013-02-20 13:05:41 +0200 Processing by ProjectsController#show as HTML
   Parameters: {"id"=>"portal"}
   Rendered projects/_project_head.html.haml (6.1ms)
   Rendered shared/_clone_panel.html.haml (0.5ms)
   Rendered projects/_clone_panel.html.haml (12.6ms)
   Rendered events/_event_last_push.html.haml (0.1ms)
   Rendered events/event/_common.html.haml (2.1ms)
   Rendered events/event/_push.html.haml (3.8ms)
   Rendered events/_event.html.haml (9.9ms)
   Rendered projects/show.html.haml within layouts/project_resource (31.8ms) Completed 500 Internal Server Error in 148ms

ActionView::Template::Error (undefined method `split' for nil:NilClass):
     9:   at
     10:   %strong= link_to_project event.project
     11:
     12: - if event.push_with_commits?
     13:   - project = event.project
     14:   .event-body
     15:     %ul.well-list.event_commits
   app/models/commit.rb:20:in `find_or_first'
   app/models/repository.rb:36:in `commit'
   app/models/event.rb:207:in `block in commits'
   app/models/event.rb:207:in `map'
   app/models/event.rb:207:in `commits'
   app/models/event.rb:245:in `push_with_commits?'
   app/views/events/event/_push.html.haml:12:in
`_app_views_events_event__push_html_haml___530123566345462139_43461600'
   app/views/events/_event.html.haml:9:in
`_app_views_events__event_html_haml__4423894732775963555_64760920'
   app/views/projects/show.html.haml:4:in
`_app_views_projects_show_html_haml___2596999991094552044_43269820'
   app/controllers/projects_controller.rb:64:in `block (2 levels) in show'
   app/controllers/projects_controller.rb:60:in `show'
Assignee
Assign to
Time tracking