mapbox / mapbox/mapbox-maps-android
JNI DETECTED ERROR IN APPLICATION: can't call double com.mapbox.geojson.Point.longitude() on null object
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: can't call double com.mapbox.geojson.Point.longitude() on null object
java_vm_ext.cc:570] in call to CallDoubleMethodV
java_vm_ext.cc:570] from com.mapbox.bindgen.Expected com.mapbox.maps.StyleManager.updateGeoJSONSourceFeatures(java.lang.String, java.lang.String, java.util.List)
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.
Research direction
Start at StyleManager.updateGeoJSONSourceFeatures and the Point.longitude() call shown in the JNI stack trace. Reproduce the reported null-object crash and trace how the GeoJSON source feature reaches that entry point; done means the crash no longer occurs for the reported case, with coverage added if the relevant test location can be identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100