[Theseus/production] NoMethodError: undefined method '[]' for nil
- Dominant language
- Ruby
- Stars
- 24
- Forks
- 18
- Avg merge
- 7h 11m
- Merged PRs (30d)
- 7
Description
## Backtrace
line 54 of [PROJECT_ROOT]/app/services/geocoding_service.rb: GeocodingService.hackclub_geocode
line 47 of [PROJECT_ROOT]/app/services/geocoding_service.rb: GeocodingService.first_hit
line 14 of [PROJECT_ROOT]/app/services/geocoding_service/usps_facilities.rb: block in GeocodingService::USPSFacilities.coords_for_locale_key
[View full backtrace and more info at honeybadger.io](https://app.honeybadger.io/projects/132042/faults/120954069)
Contributor guide
Research direction
Start with app/services/geocoding_service.rb at lines 54 and 47, then inspect app/services/geocoding_service/usps_facilities.rb at line 14. Reproduce or trace the Honeybadger failure to identify the nil value and determine the expected handling. Done means the production error no longer occurs and the nil case is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100