Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

[production][sidekiq#ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper] undefined method `object_url' for nil:NilClass Did you mean? object_id #814

Open
cpsoinos opened this issue May 2, 2017 · 0 comments

Comments

@cpsoinos
Copy link
Owner

cpsoinos commented May 2, 2017

See this exception on Errbit

undefined method `object_url' for nil:NilClass

Did you mean? object_id #

Summary

Where

sidekiq#ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper

Occured

May 01 5:02pm

Similar

77

Params

{
  "args" => [{"job_class"=>"CheckSenderJob", "job_id"=>"09e5e238-0067-4af3-b8bf-6dceafc5b090", "queue_name"=>"default", "arguments"=>[{"_aj_globalid"=>"gid://jtrp/Statement/163"}], "locale"=>"en"}],
  "backtrace" => true,
  "class" => "ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper",
  "created_at" => 1493672505.3902853,
  "enqueued_at" => 1493672505.3912997,
  "error_backtrace" => ["/app/app/services/checks/sender.rb:33:in `build_check'", "/app/app/services/checks/sender.rb:14:in `send_check'", "/app/app/jobs/check_sender_job.rb:5:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:32:in `block in perform_now'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb:46:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb:20:in `block (3 levels) in <top (required)>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:43:in `block in tag_logger'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:26:in `tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `tagged'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:43:in `tag_logger'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `instance_exec'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:342:in `block in simple'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:497:in `block in around'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:31:in `perform_now'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/execution.rb:21:in `execute'", "/app/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.5.2/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:151:in `execute_job'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:133:in `block (2 levels) in process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/scout_apm-3.0.0.pre1/lib/scout_apm/background_job_integrations/sidekiq.rb:81:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb:33:in `block in call'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:363:in `perform_action_with_newrelic_trace'", "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb:29:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-unique-jobs-4.0.18/lib/sidekiq_unique_jobs/server/middleware.rb:15:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/logging.rb:31:in `with_context'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb:7:in `call'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:128:in `block in process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:167:in `stats'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:127:in `process'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:79:in `process_one'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb:67:in `run'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/util.rb:16:in `watchdog'", "/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1/lib/sidekiq/util.rb:24:in `block in safe_thread'"],
  "error_class" => "NoMethodError",
  "error_message" => "undefined method `object_url' for nil:NilClass\nDid you mean?  object_id",
  "failed_at" => 1493672515.8883488,
  "jid" => "3450b4a9c6af215074a634a4",
  "queue" => "default",
  "retry" => true,
  "retry_count" => 0,
  "wrapped" => "CheckSenderJob"
}

Session

{}

Backtrace

33:  app/services/checks/sender.rb -> **build_check**
14:  app/services/checks/sender.rb -> **send_check**
5:  app/jobs/check_sender_job.rb -> **perform**
32:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **block in perform_now**
117:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
555:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in compile**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
46:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb -> **perform**
20:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_job.rb -> **block (3 levels) in <top (required)>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
257:  [GEM_ROOT]/gems/i18n-0.7.0/lib/i18n.rb -> **with_locale**
7:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/translation.rb -> **block (2 levels) in <module:Translation>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
498:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in around**
343:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block (2 levels) in simple**
23:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (4 levels) in <module:Logging>**
164:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb -> **block in instrument**
20:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb -> **instrument**
164:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb -> **instrument**
22:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (3 levels) in <module:Logging>**
43:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block in tag_logger**
68:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **block in tagged**
26:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **tagged**
68:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb -> **tagged**
43:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **tag_logger**
19:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/logging.rb -> **block (2 levels) in <module:Logging>**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **instance_exec**
441:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in make_lambda**
342:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in simple**
497:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **block in around**
505:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **call**
92:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **__run_callbacks__**
778:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **_run_perform_callbacks**
81:  [GEM_ROOT]/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb -> **run_callbacks**
31:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **perform_now**
21:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/execution.rb -> **execute**
42:  [GEM_ROOT]/gems/activejob-4.2.5.2/lib/active_job/queue_adapters/sidekiq_adapter.rb -> **perform**
151:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **execute_job**
133:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **block (2 levels) in process**
127:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
81:  [GEM_ROOT]/gems/scout_apm-3.0.0.pre1/lib/scout_apm/background_job_integrations/sidekiq.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
33:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb -> **block in call**
363:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> **perform_action_with_newrelic_trace**
29:  [GEM_ROOT]/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/sidekiq.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
15:  [GEM_ROOT]/gems/sidekiq-unique-jobs-4.0.18/lib/sidekiq_unique_jobs/server/middleware.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
6:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/active_record.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
74:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/retry_jobs.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
11:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb -> **block in call**
31:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/logging.rb -> **with_context**
7:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/server/logging.rb -> **call**
129:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **block in invoke**
132:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/middleware/chain.rb -> **invoke**
128:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **block in process**
167:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **stats**
127:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **process**
79:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **process_one**
67:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/processor.rb -> **run**
16:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/util.rb -> **watchdog**
24:  [GEM_ROOT]/gems/sidekiq-4.1.1/lib/sidekiq/util.rb -> **block in safe_thread**

Environment

Key Value
HTTP_USER_AGENT
cpsoinos added a commit that referenced this issue May 2, 2017
use statement pdf url instead of statement_pdf
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant