openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs

Home Page:https://openbuildservice.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[production][] undefined method `disabled_for?' for nil:NilClass Project.unscoped.find_by(name: payload['...

hennevogel opened this issue · comments

See this exception on Errbit

undefined method `disabled_for?' for nil:NilClass

  Project.unscoped.find_by(name: payload['project']).disabled_for?('access', nil, nil)
                                                    ^^^^^^^^^^^^^^ #

Summary

Where

Occured

Mar 21 4:02pm

Similar

42

Params

{
  "email" => "nil",
  "event_id" => 3074247420
}

Session

{}

Backtrace

14:  app/models/event/comment_for_project.rb -> **involves_hidden_project?**
24:  app/jobs/send_event_emails_job.rb -> **send_email**
16:  app/jobs/send_event_emails_job.rb -> **block in perform**
88:  /GEM_ROOT/gems/activerecord-7.0.8/lib/active_record/relation/delegation.rb -> **each**
88:  /GEM_ROOT/gems/activerecord-7.0.8/lib/active_record/relation/delegation.rb -> **each**
7:  app/jobs/send_event_emails_job.rb -> **perform**
65:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/execution.rb -> **block in _perform_job**
118:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **block in run_callbacks**
322:  /GEM_ROOT/gems/i18n-1.14.4/lib/i18n.rb -> **with_locale**
9:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/translation.rb -> **block (2 levels) in <module:Translation>**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **instance_exec**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **block in run_callbacks**
65:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/core_ext/time/zones.rb -> **use_zone**
9:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/timezones.rb -> **block (2 levels) in <module:Timezones>**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **instance_exec**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **block in run_callbacks**
138:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **run_callbacks**
64:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/execution.rb -> **_perform_job**
20:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/instrumentation.rb -> **_perform_job**
52:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/execution.rb -> **perform_now**
14:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/instrumentation.rb -> **block in perform_now**
25:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/instrumentation.rb -> **block in instrument**
206:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications.rb -> **block in instrument**
24:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications/instrumenter.rb -> **instrument**
206:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/notifications.rb -> **instrument**
35:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/instrumentation.rb -> **instrument**
14:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/instrumentation.rb -> **perform_now**
18:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/logging.rb -> **block in perform_now**
99:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **block in tagged**
37:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **tagged**
99:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb -> **tagged**
25:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/logging.rb -> **tag_logger**
18:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/logging.rb -> **perform_now**
30:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/execution.rb -> **block in execute**
118:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **block in run_callbacks**
54:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/railtie.rb -> **block (4 levels) in <class:Railtie>**
92:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/execution_wrapper.rb -> **wrap**
72:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/reloader.rb -> **block in wrap**
92:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/execution_wrapper.rb -> **wrap**
71:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/reloader.rb -> **wrap**
53:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/railtie.rb -> **block (3 levels) in <class:Railtie>**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **instance_exec**
127:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **block in run_callbacks**
138:  /GEM_ROOT/gems/activesupport-7.0.8/lib/active_support/callbacks.rb -> **run_callbacks**
28:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/execution.rb -> **execute**
47:  /GEM_ROOT/gems/activejob-7.0.8/lib/active_job/queue_adapters/delayed_job_adapter.rb -> **perform**
81:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/backend/base.rb -> **block in 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.11/lib/delayed/lifecycle.rb -> **block (2 levels) in add**
61:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in initialize**
79:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in add**
66:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **execute**
40:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **run_callbacks**
78:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/backend/base.rb -> **invoke_job**
231:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block (2 levels) in run**
186:  /GEM_ROOT/gems/timeout-0.4.1/lib/timeout.rb -> **block in timeout**
193:  /GEM_ROOT/gems/timeout-0.4.1/lib/timeout.rb -> **timeout**
231:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block in run**
311:  /usr/lib64/ruby/3.1.0/benchmark.rb -> **realtime**
230:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **run**
313:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block in reserve_and_run_one_job**
61:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in initialize**
66:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **execute**
40:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **run_callbacks**
313:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **reserve_and_run_one_job**
214:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block in work_off**
213:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **times**
213:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **work_off**
176:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block (4 levels) in start**
311:  /usr/lib64/ruby/3.1.0/benchmark.rb -> **realtime**
175:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block (3 levels) in start**
61:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in initialize**
66:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **execute**
40:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **run_callbacks**
174:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block (2 levels) in start**
173:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **loop**
173:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **block in start**
7:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/plugins/clear_locks.rb -> **block (2 levels) in <class:ClearLocks>**
79:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block (2 levels) in add**
61:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in initialize**
79:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **block in add**
66:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **execute**
40:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/lifecycle.rb -> **run_callbacks**
172:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/worker.rb -> **start**
137:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/command.rb -> **run**
125:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/command.rb -> **block in run_process**
277:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **block in start_proc**
84:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/daemonize.rb -> **call_as_daemon**
281:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **start_proc**
307:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **start**
56:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/controller.rb -> **run**
199:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **block in run_proc**
124:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/cmdline.rb -> **catch_exceptions**
198:  /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **run_proc**
123:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/command.rb -> **run_process**
98:  /GEM_ROOT/gems/delayed_job-4.1.11/lib/delayed/command.rb -> **daemonize**
5:  script/delayed_job.api.rb -> **<top (required)>**
58:  /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **load**
58:  /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **kernel_load**
23:  /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **run**
486:  /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **exec**
27:  /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb -> **run**
127:  /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb -> **invoke_command**
392:  /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb -> **dispatch**
31:  /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **dispatch**
485:  /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb -> **start**
25:  /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **start**
48:  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle -> **block in <top (required)>**
120:  /usr/lib64/ruby/3.1.0/bundler/friendly_errors.rb -> **with_friendly_errors**
36:  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle -> **<top (required)>**
25:  /usr/bin/bundle.ruby3.1 -> **load**
25:  /usr/bin/bundle.ruby3.1 -> **<main>**

Environment

Key Value
program_name delayed_job.1020
HTTP_USER_AGENT