[go: up one dir, main page]

ActionView::Template::Error: undefined method `detailed_status' for nil:NilClass

https://sentry.gitlab.net/gitlab/gitlabcom/issues/673354/

NoMethodError: undefined method `detailed_status' for nil:NilClass
  /opt/gitlab/embedded/service/gitlab-rails/app/views/shared/projects/_project.html.haml:90:in `block in _app_views_shared_projects__project_html_haml___3070299592598001940_70055744205980'
    = render 'ci/status/icon', status: project.commit.last_pipeline.detailed_status(current_user), type: 'commit', tooltip_placement: 'top', path: pipeline_path
  action_view/helpers/cache_helper.rb:231:in `write_fragment_for'
    yield
  action_view/helpers/cache_helper.rb:220:in `fragment_for'
    read_fragment_for(name, options) || write_fragment_for(name, options, &block)
  action_view/helpers/cache_helper.rb:155:in `cache'
    safe_concat(fragment_for(cache_fragment_name(name, name_options), options, &block))
  /opt/gitlab/embedded/service/gitlab-rails/app/views/shared/projects/_project.html.haml:19:in `_app_views_shared_projects__project_html_haml___3070299592598001940_70055744205980'
    = cache(cache_key) do
...
(173 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `detailed_status' for nil:NilClass

ActionView::Template::Error: undefined method `detailed_status' for nil:NilClass