You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Intent.setPackage(java.lang.String)' on a null object reference
#107
FATAL EXCEPTION: main Process: io.baato, PID: 9361 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Intent.setPackage(java.lang.String)' on a null object reference at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.createPendingOpenIntent(MapboxNavigationNotification.java:147) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.buildNotification(MapboxNavigationNotification.java:126) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.initialize(MapboxNavigationNotification.java:94) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.<init>(MapboxNavigationNotification.java:64) at com.mapbox.services.android.navigation.v5.navigation.NavigationNotificationProvider.buildNotificationFrom(NavigationNotificationProvider.java:38) at com.mapbox.services.android.navigation.v5.navigation.NavigationNotificationProvider.<init>(NavigationNotificationProvider.java:14) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.initializeNotificationProvider(NavigationService.java:99) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.initialize(NavigationService.java:93) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.startNavigation(NavigationService.java:67) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation.onServiceConnected(MapboxNavigation.java:724) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1956) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1988) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:7562) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
The text was updated successfully, but these errors were encountered:
Android version: Above v-10
Maplibre Navigation SDK version: 3.0.0
I am trying to start navigation, it was working fine before,. I have not updated maplibre or navigation versions.
I am doing this
but recently It is throwing the error
FATAL EXCEPTION: main Process: io.baato, PID: 9361 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Intent.setPackage(java.lang.String)' on a null object reference at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.createPendingOpenIntent(MapboxNavigationNotification.java:147) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.buildNotification(MapboxNavigationNotification.java:126) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.initialize(MapboxNavigationNotification.java:94) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationNotification.<init>(MapboxNavigationNotification.java:64) at com.mapbox.services.android.navigation.v5.navigation.NavigationNotificationProvider.buildNotificationFrom(NavigationNotificationProvider.java:38) at com.mapbox.services.android.navigation.v5.navigation.NavigationNotificationProvider.<init>(NavigationNotificationProvider.java:14) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.initializeNotificationProvider(NavigationService.java:99) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.initialize(NavigationService.java:93) at com.mapbox.services.android.navigation.v5.navigation.NavigationService.startNavigation(NavigationService.java:67) at com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation.onServiceConnected(MapboxNavigation.java:724) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1956) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1988) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:7562) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
The text was updated successfully, but these errors were encountered: