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

Closed
Open
Created Mar 22, 2013 by Administrator@rootOwner

Error 500 for admin/projects and project/news (GitLab 5.0)

Created by: rk4an

Hi,

I have an error 500 when I click to admin/projects or project/new with this log, any idea please?

Started GET "/admin/projects" for 82.**.**.** at 2013-03-22 21:09:38 +0100
Processing by Admin::ProjectsController#index as HTML
  Rendered admin/projects/index.html.haml within layouts/admin (14.9ms)
Completed 500 Internal Server Error in 20ms

ActionView::Template::Error (comparison of NilClass with String failed):
    16:         .control-group
    17:           = label_tag :namespace_id, 'Namespace:', class: 'control-label'
    18:           .controls
    19:             = select_tag :namespace_id, namespaces_options(params[:namespace_id], :all), class: "chosen span2", prompt: "Any"
    20:         .control-group
    21:           = label_tag :public_only, 'Public Only', class: 'control-label'
    22:           .controls
  app/helpers/namespaces_helper.rb:14:in `namespaces_options'
  app/views/admin/projects/index.html.haml:19:in `block in _app_views_admin_projects_index_html_haml___683230440254367758_62642300'
  app/views/admin/projects/index.html.haml:10:in `_app_views_admin_projects_index_html_haml___683230440254367758_62642300'
Assignee
Assign to
Time tracking