Sidekiq/StoreSecurityReportsWorker - ActiveRecord::NotNullViolation: PG::NotNullViolation: ERROR: null value in column "primary_identifier_id" violates not-null cons...
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1737016/?referrer=gitlab_plugin
PG::NotNullViolation: ERROR: null value in column "primary_identifier_id" violates not-null constraint
DETAIL: Failing row contains (4374189, 2020-08-10 04:07:35.696956+00, 2020-08-10 04:07:35.696956+00, 7, 6, 1, 11096197, 30128, null, \x9b79fb9aa322c987bc6cc033c3418ba3f15b4969, \x72cda3a0735d8045e56971b42c6df006d910ee98, 7c45e6e4-4a6b-4f9d-b197-ede77317dbd6, Arbitrary Code Execution, 2.0, {"tool":"npm_audit","category":"dependency_scanning","name":"esl..., null).
active_record/connection_adapters/postgresql_adapter.rb:675:in `exec_params'
@connection.exec_params(sql, type_casted_binds)
active_record/connection_adapters/postgresql_adapter.rb:675:in `block (2 levels) in exec_no_cache'
@connection.exec_params(sql, type_casted_binds)
active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
yield
active_support/concurrency/share_lock.rb:187:in `yield_shares'
yield
active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
@lock.yield_shares(compatible: [:load]) do
...
(160 additional frame(s) were not displayed)
ActiveRecord::NotNullViolation: PG::NotNullViolation: ERROR: null value in column "primary_identifier_id" violates not-null constraint
DETAIL: Failing row contains (4374189, 2020-08-10 04:07:35.696956+00, 2020-08-10 04:07:35.696956+00, 7, 6, 1, 11096197, 30128, null, \x9b79fb9aa322c987bc6cc033c3418ba3f15b4969, \x72cda3a0735d8045e56971b42c6df006d910ee98, 7c45e6e4-4a6b-4f9d-b197-ede77317dbd6, Arbitrary Code Execution, 2.0, {"tool":"npm_audit","category":"dependency_scanning","name":"esl..., null).
PG::NotNullViolation: ERROR: null value in column "primary_identifier_id" violates not-null constraint
DETAIL: Failing row contains (4374189, 2020-08-10 04:07:35.696956+00, 2020-08-10 04:07:35.696956+00, 7, 6, 1, 11096197, 30128, null, \x9b79fb9aa322c987bc6cc033c3418ba3f15b4969, \x72cda3a0735d8045e56971b42c6df006d910ee98, 7c45e6e4-4a6b-4f9d-b197-ede77317dbd6, Arbitrary Code Execution, 2.0, {"tool":"npm_audit","category":"dependency_scanning","name":"esl..., null).