AgileVentures / AgileVentures/LocalSupport

[Airbrake] [Production] undefined method `each' for nil:NilClass

Đang mở
#1,411 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
airbrake
Ngôn ngữ chính
Ruby
Star
64
Fork
209
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**Airbrake error:** [#7774](https://herokuapp16263207herokucom.airbrake.io/projects/122010/groups/2992312311169527774)
**Airbrake project:** harrowcn-production

**Error type:** `NoMethodError`
**Error message:** `` undefined method `each' for nil:NilClass ``
**Where:** `rake#db:import_doit`
**Occurred at:** Apr 21, 2021 14:30:21 UTC
**First seen at:** Apr 21, 2021 14:30:21 UTC
**Occurrences:** 0 (0 since last deploy on ``)
**Severity:** `error`

**URL:** ``
**File:** `/PROJECT_ROOT/app/services/import_do_it_volunteer_opportunities.rb`

**Backtrace:**
```
/PROJECT_ROOT/app/services/import_do_it_volunteer_opportunities.rb:50:in persist_doit
/PROJECT_ROOT/app/services/import_do_it_volunteer_opportunities.rb:33:in process_doit_json_page
/PROJECT_ROOT/app/services/import_do_it_volunteer_opportunities.rb:27:in run
/PROJECT_ROOT/app/services/import_do_it_volunteer_opportunities.rb:7:in with
/PROJECT_ROOT/lib/tasks/import_doit.rake:5:in block (2 levels) in
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:273:in block in execute
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:273:in each
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:273:in execute
/GEM_ROOT/gems/airbrake-10.0.0/lib/airbrake/rake.rb:17:in execute
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:214:in block in invoke_with_call_chain
/PROJECT_ROOT/vendor/ruby-2.6.5/lib/ruby/2.6.0/monitor.rb:235:in mon_synchronize
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:194:in invoke_with_call_chain
/GEM_ROOT/gems/rake-12.3.3/lib/rake/task.rb:183:in invoke
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:160:in invoke_task
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:116:in block (2 levels) in top_level
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:116:in each
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:116:in block in top_level
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:125:in run_with_threads
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:110:in top_level
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:83:in block in run
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:186:in standard_exception_handling
/GEM_ROOT/gems/rake-12.3.3/lib/rake/application.rb:80:in run
/GEM_ROOT/gems/rake-12.3.3/exe/rake:27:in
/GEM_ROOT/bin/rake:23:in load
/GEM_ROOT/bin/rake:23:in
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in load
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in kernel_load
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in run
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in exec
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in dispatch
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in dispatch
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in start
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in start
/GEM_ROOT/gems/bundler-1.17.3/exe/bundle:30:in block in
/GEM_ROOT/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in with_friendly_errors
/GEM_ROOT/gems/bundler-1.17.3/exe/bundle:22:in
/PROJECT_ROOT/vendor/bundle/bin/bundle:104:in load
/PROJECT_ROOT/vendor/bundle/bin/bundle:104:in
```
Visit [Airbrake error](https://herokuapp16263207herokucom.airbrake.io/projects/122010/groups/2992312311169527774?tab=notice-detail) to view the full backtrace.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.