hackclub / hackclub/theseus

[Theseus/production] NoMethodError: undefined method '[]' for nil

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.