mapbox / mapbox/mapbox-navigation-android
Mapbox Navigation SDK v3, calling mapboxNavigation.startTripSession() crashes the app
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
I did migration from navigation V2 to navigation V3, After migration when calling mapboxNavigation.startTripSession(), the application crashes and the log shows this exception
Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI NewString called with pending exception
com.mapbox.navigation.core.trip.session.NativeStatusProcessingError: Error processing native status update
(Throwable with no stack trace)
Caused by: java.lang.NullPointerException:
(Throwable with no stack trace)
in call to NewString
from void android.os.MessageQueue.nativePollOnce(long, int)'
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 by reproducing the V2-to-V3 migration and calling mapboxNavigation.startTripSession(), then inspect the NativeStatusProcessingError and JNI exception reported in the issue. Done means the call no longer crashes the Android application and the native status update completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100