-
Notifications
You must be signed in to change notification settings - Fork 319
Description
Hi, I am using DropIn-Ui for my app and I am getting below crash often.
Fatal Exception: java.lang.NullPointerException
Missing required view with ID: app.abcourier.ccmobile:id/arrivedText
com.mapbox.navigation.dropin.databinding.MapboxInfoPanelHeaderArrivalLayoutBinding.bind (MapboxInfoPanelHeaderArrivalLayoutBinding.java:72)
com.mapbox.navigation.dropin.infopanel.InfoPanelHeaderArrivalBinder.bind (InfoPanelHeaderArrivalBinder.kt:28)
com.mapbox.navigation.dropin.infopanel.InfoPanelHeaderArrivalBinder.bind (InfoPanelHeaderArrivalBinder.kt:16)
com.mapbox.navigation.dropin.infopanel.InfoPanelHeaderBinder$bind$1.invoke (InfoPanelHeaderBinder.kt:27)
com.mapbox.navigation.dropin.infopanel.InfoPanelHeaderBinder$bind$1.invoke (InfoPanelHeaderBinder.kt:27)
com.mapbox.navigation.dropin.internal.extensions.ReloadingComponent$onAttached$$inlined$observe$default$1$1.emit (Collect.kt:136)
kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt (Channels.kt:62)
kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt (Channels.kt:1)
kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend (Unknown Source:14)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
kotlinx.coroutines.EventLoop.processUnconfinedEvent (EventLoop.common.kt:69)
kotlinx.coroutines.DispatchedTaskKt.resumeUnconfined (DispatchedTask.kt:244)
kotlinx.coroutines.DispatchedTaskKt.dispatch (DispatchedTask.kt:161)
kotlinx.coroutines.CancellableContinuationImpl.dispatchResume (CancellableContinuationImpl.kt:397)
kotlinx.coroutines.CancellableContinuationImpl.completeResume (CancellableContinuationImpl.kt:513)
kotlinx.coroutines.channels.AbstractChannel$ReceiveElement.completeResumeReceive (AbstractChannel.kt:907)
kotlinx.coroutines.channels.ArrayChannel.offerInternal (ArrayChannel.kt:83)
kotlinx.coroutines.channels.AbstractSendChannel.trySend-JP2dKIU (AbstractChannel.kt:154)
kotlinx.coroutines.channels.ChannelCoroutine.trySend-JP2dKIU (Unknown Source:2)
com.mapbox.navigation.core.internal.extensions.MapboxNavigationEx$flowOnFinalDestinationArrival$1$observer$1.onFinalDestinationArrival (MapboxFlowableExtensions.kt:100)
com.mapbox.navigation.core.arrival.ArrivalProgressObserver.doFinalDestinationArrival (ArrivalProgressObserver.kt:106)
com.mapbox.navigation.core.arrival.ArrivalProgressObserver.onRouteProgressChanged (ArrivalProgressObserver.kt:79)
com.mapbox.navigation.core.trip.session.MapboxTripSession.updateRouteProgress (MapboxTripSession.kt:686)
com.mapbox.navigation.core.trip.session.MapboxTripSession.access$updateRouteProgress (MapboxTripSession.kt:60)
com.mapbox.navigation.core.trip.session.MapboxTripSession$navigatorObserver$1.onStatus (MapboxTripSession.kt:376)
android.os.MessageQueue.nativePollOnce (MessageQueue.java)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:935)
Mapbox Navigation SDK version: com.mapbox.navigation:ui-dropin:2.9.0-beta.3
Please check it and let me know how to fix this crash.