activebridge / projectr

11 stars 1 forks source link

NoMethodError: undefined method `user' for nil:NilClass #103

Closed YaroslavTupytskyi closed 7 years ago

YaroslavTupytskyi commented 7 years ago

View details in Rollbar: https://rollbar.com/yaroslavtupitskyi/ProjectR/items/40/


NoMethodError: undefined method `user' for nil:NilClass
  File "/home/deploy/releases/20170502094145/app/workers/refresher_worker.rb", line 3, in perform
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 204, in execute_job
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 175, in block (2 levels) in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 128, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb", line 11, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 133, in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 174, in block in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 146, in block (6 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_retry.rb", line 97, in local
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 145, in block (5 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 43, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 68, in block in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 67, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 42, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 141, in block (4 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 220, in stats
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 136, in block (3 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_logger.rb", line 8, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 135, in block (2 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_retry.rb", line 72, in global
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 134, in block in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/logging.rb", line 32, in with_context
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 133, in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 173, in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 85, in process_one
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 73, in run
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/util.rb", line 17, in watchdog
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/util.rb", line 26, in block in safe_thread