Error 500 loading projects.json: undefined method `cache_key' for nil:NilClass
https://sentry.gitlap.com/gitlab/gitlabcom/issues/137242/
NoMethodError: undefined method `cache_key' for nil:NilClass
app/helpers/projects_helper.rb:213:in `project_list_cache_key'
project.route.cache_key,
app/views/shared/projects/_project.html.haml:11:in `_app_views_shared_projects__project_html_haml__3144258738170842144_70005067333740'
- cache_key = project_list_cache_key(project)
app/views/shared/projects/_list.html.haml:19:in `block in _app_views_shared_projects__list_html_haml___610975135898929075_70005094755900'
= render "shared/projects/project", project: project, skip_namespace: skip_namespace,
app/views/shared/projects/_list.html.haml:17:in `_app_views_shared_projects__list_html_haml___610975135898929075_70005094755900'
- projects.each_with_index do |project, i|
app/controllers/application_controller.rb:255:in `view_to_html_string'
render_to_string(
...
(163 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `cache_key' for nil:NilClass
ActionView::Template::Error: undefined method `cache_key' for nil:NilClass