NoMethodError: undefined method `id' for nil:NilClass

This is happening on gitlab.com when I try to transfer https://gitlab.com/gitlab-org/defend/cilium/edit

image

image

https://sentry.gitlab.net/gitlab/gitlabcom/issues/1769830/?referrer=gitlab_plugin

NoMethodError: undefined method `id' for nil:NilClass
  labels/transfer_service.rb:75:in `find_or_create_label!'
    new_label.id
  gitlab/metrics/instrumentation.rb:161:in `block in find_or_create_label!'
    .measure { super }
  gitlab/metrics/method_call.rb:27:in `measure'
    retval = yield
  gitlab/metrics/instrumentation.rb:161:in `find_or_create_label!'
    .measure { super }
  labels/transfer_service.rb:25:in `block (2 levels) in execute'
    new_label_id = find_or_create_label!(label)
...
(194 additional frame(s) were not displayed)

NoMethodError: undefined method `id' for nil:NilClass
POST /gitlab-org/defend/cilium/transfer HTTP/1.1
Host: gitlab.com

utf8=%E2%9C%93&_method=put&new_namespace_id=8948010

500 Internal Server Error

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0

Edited by Thiago Figueiró