Mapbox Navigation SDK v3, calling mapboxNavigation.startTripSession() crashes the app
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)'
Currently experiencing the same issue:
java_vm_ext.cc:591] JNI DETECTED ERROR IN APPLICATION: JNI NewString called with pending exception com.mapbox.navigation.core.trip.session.NativeStatusProcessingError: Error processing native status update
java_vm_ext.cc:591] (Throwable with no stack trace)
java_vm_ext.cc:591] Caused by: java.lang.IllegalArgumentException: Desired length -4 is less than zero.
java_vm_ext.cc:591] (Throwable with no stack trace)
java_vm_ext.cc:591]
java_vm_ext.cc:591] in call to NewString
java_vm_ext.cc:591] from void android.os.MessageQueue.nativePollOnce(long, int)
UPDATE: Issue occurred once, and afterward I haven't been able to reproduce this yet. Will update this thread should it happen again.
same issue here
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
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.NumberFormatException: For input string: "٢٤٫٤٤"
(Throwable with no stack trace)
in call to NewString
from void android.os.MessageQueue.nativePollOnce(long, int)'
Same as here, but I am using v2:
runtime.cc:699] JNI DETECTED ERROR IN APPLICATION: JNI NewString called with pending exception com.mapbox.navigation.core.trip.session.NativeStatusProcessingError: Error processing native status update
runtime.cc:699] (Throwable with no stack trace)
runtime.cc:699] Caused by: java.lang.IndexOutOfBoundsException: fromIndex = -1
runtime.cc:699] (Throwable with no stack trace)
runtime.cc:699]
runtime.cc:699] in call to NewString
runtime.cc:699] from void android.os.MessageQueue.nativePollOnce(long, int)