Untitled

 avatar
user_4564577
plain_text
7 months ago
8.2 kB
1
Indexable
Never
14:50:27.641 Compatibi...eReporter com....aioildiagnosis  D  Compat change id reported: 171228096; UID 10175; state: ENABLED
--------- beginning of crash
14:50:27.804 AndroidRuntime        com....aioildiagnosis  D  Shutting down VM
14:50:27.810 AndroidRuntime        com....aioildiagnosis  E  FATAL EXCEPTION: main
                                                             Process: com.natiferelease.aioildiagnosis, PID: 8504
                                                             java.util.NoSuchElementException: List is empty.
                                                             	at kotlin.collections.CollectionsKt___CollectionsKt.last(_Collections.kt:418)
                                                             	at com.natiferelease.aioildiagnosis.ui.home.homeFragment.statistics.StatisticsViewModel.update(StatisticsViewModel.kt:160)
                                                             	at com.natiferelease.aioildiagnosis.ui.home.homeFragment.statistics.StatisticsViewModel.setReports(StatisticsViewModel.kt:104)
                                                             	at com.natiferelease.aioildiagnosis.ui.home.homeFragment.statistics.StatisticsFragment$onViewCreated$1.invoke(StatisticsFragment.kt:41)
                                                             	at com.natiferelease.aioildiagnosis.ui.home.homeFragment.statistics.StatisticsFragment$onViewCreated$1.invoke(StatisticsFragment.kt:41)
                                                             	at com.natiferelease.aioildiagnosis.ui.home.homeFragment.statistics.StatisticsFragment$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2)
                                                             	at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
                                                             	at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:146)
                                                             	at androidx.lifecycle.LiveData$ObserverWrapper.activeStateChanged(LiveData.java:483)
                                                             	at androidx.lifecycle.LiveData$LifecycleBoundObserver.onStateChanged(LiveData.java:440)
                                                             	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:314)
                                                             	at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.kt:251)
                                                             	at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:287)
                                                             	at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.kt:136)
                                                             	at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.kt:119)
                                                             	at androidx.fragment.app.FragmentViewLifecycleOwner.handleLifecycleEvent(FragmentViewLifecycleOwner.java:100)
                                                             	at androidx.fragment.app.Fragment.performStart(Fragment.java:3194)
                                                             	at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:628)
                                                             	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:290)
                                                             	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1943)
                                                             	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1839)
                                                             	at androidx.fragment.app.FragmentManager.execSingleAction(FragmentManager.java:1751)
                                                             	at androidx.fragment.app.BackStackRecord.commitNow(BackStackRecord.java:317)
                                                             	at androidx.viewpager2.adapter.FragmentStateAdapter.placeFragmentInViewHolder(FragmentStateAdapter.java:343)
                                                             	at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(FragmentStateAdapter.java:274)
                                                             	at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(FragmentStateAdapter.java:74)
                                                             	at androidx.recyclerview.widget.RecyclerView.dispatchChildAttached(RecyclerView.java:8377)
                                                             	at androidx.recyclerview.widget.RecyclerView$5.addView(RecyclerView.java:954)
                                                             	at androidx.recyclerview.widget.ChildHelper.addView(ChildHelper.java:107)
                                                             	at androidx.recyclerview.widget.RecyclerView$LayoutManager.addViewInt(RecyclerView.java:9430)
                                                             	at androidx.recyclerview.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:9388)
                                                             	at androidx.recyclerview.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:9375)
                                                             	at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1676)
                                                             	at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)
                                                             	at androidx.recyclerview.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1425)
                                                             	at androidx.recyclerview.widget.LinearLayoutManager.scrollHorizontallyBy(LinearLayoutManager.java:1145)
                                                             	at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:2047)
                                                             	at androidx.recyclerview.widget.RecyclerView$SmoothScroller.onAnimation(RecyclerView.java:12861)
                                                             	at androidx.recyclerview.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5923)
                                                             	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
                                                             	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
14:50:27.811 AndroidRuntime        com....aioildiagnosis  E  	at android.view.Choreographer.doCallbacks(Choreographer.java:899)
                                                             	at android.view.Choreographer.doFrame(Choreographer.java:827)
                                                             	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
                                                             	at android.os.Handler.handleCallback(Handler.java:942)
                                                             	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                             	at android.os.Looper.loopOnce(Looper.java:201)
                                                             	at android.os.Looper.loop(Looper.java:288)
                                                             	at android.app.ActivityThread.main(ActivityThread.java:7872)
                                                             	at java.lang.reflect.Method.invoke(Native Method)
                                                             	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                             	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Leave a Comment