Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when changing app language and navigating #2

Open
ArnyminerZ opened this issue Sep 6, 2023 · 0 comments
Open

Crash when changing app language and navigating #2

ArnyminerZ opened this issue Sep 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ArnyminerZ
Copy link
Contributor

To reproduce:

  1. Open the app
  2. Change the language preference
  3. Try navigating

Logs:

12:53:27.942  E  FATAL EXCEPTION: main
                 Process: org.escalaralcoiaicomtat.android, PID: 21445
                 java.lang.IllegalStateException: no event down from INITIALIZED in component NavBackStackEntry(8fdf7c99-3208-462d-8f21-9a8678a9aed3) destination=Destination(0x9d6c2687) route=home?areaId={areaId}&zoneId={zoneId}
                 	at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.kt:126)
                 	at androidx.lifecycle.LifecycleRegistry.setCurrentState(LifecycleRegistry.kt:106)
                 	at androidx.navigation.NavBackStackEntry.updateState(NavBackStackEntry.kt:186)
                 	at androidx.navigation.NavBackStackEntry.setMaxLifecycle(NavBackStackEntry.kt:159)
                 	at androidx.navigation.NavController.updateBackStackLifecycle$navigation_runtime_release(NavController.kt:1087)
                 	at androidx.navigation.NavController.dispatchOnDestinationChanged(NavController.kt:991)
                 	at androidx.navigation.NavController.navigate(NavController.kt:1850)
                 	at androidx.navigation.NavController.navigate(NavController.kt:1792)
                 	at androidx.navigation.NavController.navigate(NavController.kt:2193)
                 	at androidx.navigation.NavController.navigate$default(NavController.kt:2188)
                 	at org.escalaralcoiaicomtat.android.ui.viewmodel.MainViewModel.navigate(MainViewModel.kt:92)
                 	at org.escalaralcoiaicomtat.android.ui.screen.NavigationScreenKt$NavigationScreen$2$invoke$$inlined$DataList-sNN4q2k$1$9$1$3.invoke(DataList.kt:113)
                 	at org.escalaralcoiaicomtat.android.ui.screen.NavigationScreenKt$NavigationScreen$2$invoke$$inlined$DataList-sNN4q2k$1$9$1$3.invoke(DataList.kt:81)
                 	at androidx.compose.foundation.ClickablePointerInputNode$pointerInput$3.invoke-k-4lQ0M(Clickable.kt:895)
                 	at androidx.compose.foundation.ClickablePointerInputNode$pointerInput$3.invoke(Clickable.kt:889)
                 	at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapAndPress$2$1.invokeSuspend(TapGestureDetector.kt:255)
                 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                 	at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:177)
                 	at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
                 	at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:474)
                 	at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:508)
                 	at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:497)
                 	at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:368)
                 	at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl$PointerEventHandlerCoroutine.offerPointerEvent(SuspendingPointerInputFilter.kt:665)
                 	at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.dispatchPointerEvent(SuspendingPointerInputFilter.kt:544)
                 	at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.onPointerEvent-H0pRuoY(SuspendingPointerInputFilter.kt:566)
                 	at androidx.compose.foundation.AbstractClickablePointerInputNode.onPointerEvent-H0pRuoY(Clickable.kt:855)
                 	at androidx.compose.foundation.AbstractClickableNode.onPointerEvent-H0pRuoY(Clickable.kt:703)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:317)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:303)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:303)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:303)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:303)
                 	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:303)
                 	at androidx.compose.ui.input.pointer.NodeParent.dispatchMainEventPass(HitPathTracker.kt:183)
                 	at androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges(HitPathTracker.kt:102)
                 	at androidx.compose.ui.input.pointer.PointerInputEventProcessor.process-BIzXfog(PointerInputEventProcessor.kt:96)
12:53:27.943  E  	at androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc(AndroidComposeView.android.kt:1446)
                 	at androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc(AndroidComposeView.android.kt:1398)
                 	at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(AndroidComposeView.android.kt:1338)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3174)
                 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2824)
                 	at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:521)
                 	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1937)
                 	at android.app.Activity.dispatchTouchEvent(Activity.java:4399)
                 	at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:70)
                 	at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:479)
                 	at android.view.View.dispatchPointerEvent(View.java:15329)
                 	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6919)
                 	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6689)
                 	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6141)
                 	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6198)
                 	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6164)
                 	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6329)
                 	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6172)
                 	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6386)
                 	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6145)
                 	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6198)
                 	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6164)
                 	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6172)
                 	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6145)
                 	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9323)
                 	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9264)
                 	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9219)
                 	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9461)
                 	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:267)
                 	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
                 	at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:247)
                 	at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:9414)
                 	at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:9555)
                 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1315)
                 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1323)
                 	at android.view.Choreographer.doCallbacks(Choreographer.java:956)
                 	at android.view.Choreographer.doFrame(Choreographer.java:851)
                 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1298)
                 	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)
12:53:27.943  E  	at android.app.ActivityThread.main(ActivityThread.java:8144)
                 	at java.lang.reflect.Method.invoke(Native Method)
                 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573)
                 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1023)
                 	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@d0d1a63, androidx.compose.runtime.BroadcastFrameClock@8309660, StandaloneCoroutine{Cancelling}@8c17719, AndroidUiDispatcher@2ff83de]
12:53:27.973  E  item: WorkspaceItemInfo(id=176 type=APP container=# com.android.launcher3.logger.LauncherAtom$ContainerInfo@7bc6f targetComponent=ComponentInfo{org.escalaralcoiaicomtat.android/org.escalaralcoiaicomtat.android.activity.MainActivity} screen=0 cell(1,0) span(1,1) minSpan(1,1) rank=0 user=UserHandle{0} title=Escalar Alcoià i Comtat) container being set to: -201, not in the list of folders
@ArnyminerZ ArnyminerZ added the bug Something isn't working label Sep 6, 2023
@ArnyminerZ ArnyminerZ self-assigned this Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant