MapboxGeocoding - Not a JSON Array - Error processing response
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the MapboxGeocoding query with the reported dependency versions and inspect how the response containing a GeoJSON Point is parsed. Confirm the expected response shape and identify why this response is treated as an array; done means the query completes without the reported parsing exception.
Written by the indexing model from the issue text.
Description
I've tried to get some results from MapboxGeocoding query but I'm getting this response:
java.lang.IllegalStateException: Not a JSON Array: {"type":"Point","coordinates":[-95.36812,29.761636]}
Gradle:
mapboxAnnotationPluginVersion = '0.5.0'
mapboxServicesVersion = '4.7.0' . (Also tried with 4.6.0 and 4.8.0)
mapboxVersion = '8.2.0'
Expected Behavior
Current Behavior
Getting : java.lang.IllegalStateException: Not a JSON Array: {"type":"Point","coordinates":[-95.36812,29.761636]}
Possible Solution
Steps to Reproduce
- Hardcoded a string (valid address) on query parameter
- Execute de code above in the screenshots
- Get the response error parsing
Context (Environment)
Detailed Description
Possible Implementation
- Dominant language
- Java
- Stars
- 438
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/mapbox-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mapbox/mapbox-java#1640 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
mapbox/mapbox-java#1635 ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
mapbox/mapbox-java#1619 ·
-
Mapbox-java incompatible with gson 2.13.0 and up - call to internal GSON classes that were renamed Open
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
mapbox/mapbox-java#1614 · 2 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapbox/mapbox-java#1612 · 1 reaction ·
All issues in mapbox/mapbox-java
Similar issues
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
opensearch-project/ml-commons#5094 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
emitter:client:csharp feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100