Skip to content

[production][delayed_job#Old::ConsistencyCheckJob] undefined method '[]=' for nil #18341

@eduardoj

Description

@eduardoj

See this exception on Errbit

undefined method '[]=' for nil

Summary

Where

delayed_job#Old::ConsistencyCheckJob

Occured

Aug 10 7:47am

Similar

9

Params

{
  "active_job" => {
    "arguments" => [],
    "enqueued_at" => "2025-08-10T03:00:00.001487183Z",
    "exception_executions" => {},
    "executions" => 0,
    "job_class" => "Old::ConsistencyCheckJob",
    "job_id" => "e490c8c0-547f-47f6-bbf4-585dc047f682",
    "locale" => "en",
    "priority" => nil,
    "provider_job_id" => nil,
    "queue_name" => "consistency_check",
    "scheduled_at" => nil,
    "timezone" => "UTC"
  },
  "attempts" => 0,
  "failed_at" => nil,
  "handler" => "--- !ruby/object:ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper\njob_data:\n  job_class: Old::ConsistencyCheckJob\n  job_id: e490c8c0-547f-47f6-bbf4-585dc047f682\n  provider_job_id: \n  queue_name: consistency_check\n  priority: \n  arguments: []\n  executions: 0\n  exception_executions: {}\n  locale: en\n  timezone: UTC\n  enqueued_at: '2025-08-10T03:00:00.001487183Z'\n  scheduled_at: \n",
  "id" => 1931575018,
  "last_error" => nil,
  "locked_at" => "2025-08-10T03:00:00.000Z",
  "locked_by" => "delayed_job.1050 host:api pid:6685",
  "priority" => 0,
  "queue" => "consistency_check",
  "run_at" => "2025-08-10T03:00:00.000Z"
}

Session

{}

Backtrace

99:  app/jobs/old/consistency_check_job.rb -> **'Old::ConsistencyCheckJob#project_meta_check'**
23:  app/jobs/old/consistency_check_job.rb -> **'Old::ConsistencyCheckJob#check_one_project'**
28:  app/jobs/old/consistency_check_job.rb -> **'block in Old::ConsistencyCheckJob#_perform'**
82:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'Array#each'**
82:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'block in ActiveRecord::Batches#find_each'**
158:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'block in ActiveRecord::Batches#find_in_batches'**
402:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'block in ActiveRecord::Batches#batch_on_unloaded_relation'**
168:  <internal:kernel> -> **'Kernel#loop'**
378:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'ActiveRecord::Batches#batch_on_unloaded_relation'**
269:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'ActiveRecord::Batches#in_batches'**
157:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'ActiveRecord::Batches#find_in_batches'**
81:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/relation/batches.rb -> **'ActiveRecord::Batches#find_each'**
24:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/querying.rb -> **'ActiveRecord::Querying#find_each'**
28:  app/jobs/old/consistency_check_job.rb -> **'Old::ConsistencyCheckJob#_perform'**
9:  app/jobs/old/consistency_check_job.rb -> **'block in Old::ConsistencyCheckJob#perform'**
808:  app/models/user.rb -> **'User#run_as'**
9:  app/jobs/old/consistency_check_job.rb -> **'Old::ConsistencyCheckJob#perform'**
68:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/execution.rb -> **'block in ActiveJob::Execution#_perform_job'**
121:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
353:  /GEM_ROOT/gems/i18n-1.14.7/lib/i18n.rb -> **'I18n::Base#with_locale'**
9:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/translation.rb -> **'block (2 levels) in <module:Translation>'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'BasicObject#instance_exec'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
65:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/core_ext/time/zones.rb -> **'Time.use_zone'**
9:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/timezones.rb -> **'block (2 levels) in <module:Timezones>'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'BasicObject#instance_exec'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
141:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
67:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/execution.rb -> **'ActiveJob::Execution#_perform_job'**
32:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/instrumentation.rb -> **'ActiveJob::Instrumentation#_perform_job'**
51:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/execution.rb -> **'ActiveJob::Execution#perform_now'**
26:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/instrumentation.rb -> **'block in ActiveJob::Instrumentation#perform_now'**
13:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/railties/job_runtime.rb -> **'block in ActiveRecord::Railties::JobRuntime#instrument'**
40:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/instrumentation.rb -> **'block in ActiveJob::Instrumentation#instrument'**
210:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/notifications.rb -> **'block in ActiveSupport::Notifications.instrument'**
58:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/notifications/instrumenter.rb -> **'ActiveSupport::Notifications::Instrumenter#instrument'**
210:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/notifications.rb -> **'ActiveSupport::Notifications.instrument'**
39:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/instrumentation.rb -> **'ActiveJob::Instrumentation#instrument'**
11:  /GEM_ROOT/gems/activerecord-7.2.2.1/lib/active_record/railties/job_runtime.rb -> **'ActiveRecord::Railties::JobRuntime#instrument'**
26:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/instrumentation.rb -> **'ActiveJob::Instrumentation#perform_now'**
32:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/logging.rb -> **'block in ActiveJob::Logging#perform_now'**
138:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/tagged_logging.rb -> **'block in ActiveSupport::TaggedLogging#tagged'**
38:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging::Formatter#tagged'**
138:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging#tagged'**
241:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb -> **'ActiveSupport::BroadcastLogger#method_missing'**
39:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/logging.rb -> **'ActiveJob::Logging#tag_logger'**
32:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/logging.rb -> **'ActiveJob::Logging#perform_now'**
29:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/execution.rb -> **'block in ActiveJob::Execution::ClassMethods#execute'**
121:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
79:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/railtie.rb -> **'block (4 levels) in <class:Railtie>'**
77:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb -> **'block in ActiveSupport::Reloader.wrap'**
91:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/execution_wrapper.rb -> **'ActiveSupport::ExecutionWrapper.wrap'**
74:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb -> **'ActiveSupport::Reloader.wrap'**
78:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/railtie.rb -> **'block (3 levels) in <class:Railtie>'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'BasicObject#instance_exec'**
130:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
141:  /GEM_ROOT/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
27:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/execution.rb -> **'ActiveJob::Execution::ClassMethods#execute'**
55:  /GEM_ROOT/gems/activejob-7.2.2.1/lib/active_job/queue_adapters/delayed_job_adapter.rb -> **'ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper#perform'**
81:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/backend/base.rb -> **'block in Delayed::Backend::Base#invoke_job'**
10:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/delayed_job.rb -> **'block (2 levels) in <class:Airbrake>'**
79:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block (2 levels) in Delayed::Callback#add'**
61:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#initialize'**
79:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#add'**
66:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Callback#execute'**
40:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Lifecycle#run_callbacks'**
78:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/backend/base.rb -> **'Delayed::Backend::Base#invoke_job'**
231:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block (2 levels) in Delayed::Worker#run'**
185:  /GEM_ROOT/gems/timeout-0.4.3/lib/timeout.rb -> **'block in Timeout.timeout'**
192:  /GEM_ROOT/gems/timeout-0.4.3/lib/timeout.rb -> **'Timeout.timeout'**
231:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block in Delayed::Worker#run'**
324:  /GEM_ROOT/gems/benchmark-0.4.1/lib/benchmark.rb -> **'Benchmark.realtime'**
230:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'Delayed::Worker#run'**
313:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block in Delayed::Worker#reserve_and_run_one_job'**
61:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#initialize'**
66:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Callback#execute'**
40:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Lifecycle#run_callbacks'**
313:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'Delayed::Worker#reserve_and_run_one_job'**
214:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block in Delayed::Worker#work_off'**
257:  <internal:numeric> -> **'Integer#times'**
213:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'Delayed::Worker#work_off'**
176:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block (4 levels) in Delayed::Worker#start'**
324:  /GEM_ROOT/gems/benchmark-0.4.1/lib/benchmark.rb -> **'Benchmark.realtime'**
175:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block (3 levels) in Delayed::Worker#start'**
61:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#initialize'**
66:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Callback#execute'**
40:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Lifecycle#run_callbacks'**
174:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block (2 levels) in Delayed::Worker#start'**
168:  <internal:kernel> -> **'Kernel#loop'**
173:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'block in Delayed::Worker#start'**
7:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/plugins/clear_locks.rb -> **'block (2 levels) in <class:ClearLocks>'**
79:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block (2 levels) in Delayed::Callback#add'**
61:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#initialize'**
79:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'block in Delayed::Callback#add'**
66:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Callback#execute'**
40:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/lifecycle.rb -> **'Delayed::Lifecycle#run_callbacks'**
172:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/worker.rb -> **'Delayed::Worker#start'**
137:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/command.rb -> **'Delayed::Command#run'**
125:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/command.rb -> **'block in Delayed::Command#run_process'**
277:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **'block in Daemons::Application#start_proc'**
84:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/daemonize.rb -> **'Daemonize.call_as_daemon'**
281:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **'Daemons::Application#start_proc'**
307:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **'Daemons::Application#start'**
56:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/controller.rb -> **'Daemons::Controller#run'**
199:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **'block in Daemons.run_proc'**
124:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/cmdline.rb -> **'Daemons::Controller#catch_exceptions'**
198:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **'Daemons.run_proc'**
123:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/command.rb -> **'Delayed::Command#run_process'**
98:  /GEM_ROOT/gems/delayed_job-4.1.13/lib/delayed/command.rb -> **'Delayed::Command#daemonize'**
5:  script/delayed_job.api.rb -> **'<top (required)>'**
59:  /usr/lib64/ruby/3.4.0/bundler/cli/exec.rb -> **'Kernel.load'**
59:  /usr/lib64/ruby/3.4.0/bundler/cli/exec.rb -> **'Bundler::CLI::Exec#kernel_load'**
23:  /usr/lib64/ruby/3.4.0/bundler/cli/exec.rb -> **'Bundler::CLI::Exec#run'**
452:  /usr/lib64/ruby/3.4.0/bundler/cli.rb -> **'Bundler::CLI#exec'**
28:  /usr/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/command.rb -> **'Bundler::Thor::Command#run'**
127:  /usr/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/invocation.rb -> **'Bundler::Thor::Invocation#invoke_command'**
538:  /usr/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor.rb -> **'Bundler::Thor.dispatch'**
35:  /usr/lib64/ruby/3.4.0/bundler/cli.rb -> **'Bundler::CLI.dispatch'**
584:  /usr/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/base.rb -> **'Bundler::Thor::Base::ClassMethods#start'**
29:  /usr/lib64/ruby/3.4.0/bundler/cli.rb -> **'Bundler::CLI.start'**
28:  /usr/lib64/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle -> **'block in <top (required)>'**
117:  /usr/lib64/ruby/3.4.0/bundler/friendly_errors.rb -> **'Bundler.with_friendly_errors'**
20:  /usr/lib64/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle -> **'<top (required)>'**
25:  /usr/bin/bundle.ruby3.4 -> **'Kernel#load'**
25:  /usr/bin/bundle.ruby3.4 -> **'<main>'**

Environment

Key Value
program_name delayed_job.1050
HTTP_USER_AGENT

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFrontendThings related to the OBS RoR app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions