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

Personalize Dashboard View Crash #19536

Closed
zwarm opened this issue Nov 5, 2023 · 1 comment
Closed

Personalize Dashboard View Crash #19536

zwarm opened this issue Nov 5, 2023 · 1 comment
Assignees
Labels
MTTR-inclusion A label telling that issue will be included into MTTR calculation. [Type] Crash
Milestone

Comments

@zwarm
Copy link
Contributor

zwarm commented Nov 5, 2023

Crash in JP app when updating the state of the cards within the Personalization View when an expected card state is not built.

CC: @AjeshRPai

Crash Log

FATAL EXCEPTION: DefaultDispatcher-worker-1Process: com.jetpack.android.beta, PID: 6784java.lang.IndexOutOfBoundsException: Index 6 out of bounds for length 6 at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.util.Objects.checkIndex(Objects.java:359) at java.util.ArrayList.set(ArrayList.java:448) at org.wordpress.android.ui.mysite.personalization.DashboardCardPersonalizationViewModelSlice.updateCardState(DashboardCardPersonalizationViewModelSlice.kt:183) at org.wordpress.android.ui.mysite.personalization.DashboardCardPersonalizationViewModelSlice.access$updateCardState(DashboardCardPersonalizationViewModelSlice.kt:24) at org.wordpress.android.ui.mysite.personalization.DashboardCardPersonalizationViewModelSlice$onCardToggled$1.invokeSuspend(DashboardCardPersonalizationViewModelSlice.kt:157) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:270) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@e60bd21, Dispatchers.Default]
Tested on [device], Android [version], JPAndroid / WPAndroid [version]
@zwarm zwarm added this to the 23.6 ❄️ milestone Nov 5, 2023
@zwarm zwarm self-assigned this Nov 5, 2023
@zwarm zwarm changed the title Personalize Dashboard Crash Personalize Dashboard View Crash Nov 5, 2023
@AjeshRPai
Copy link
Contributor

Closed with the PR #19537

@pachlava pachlava added the MTTR-inclusion A label telling that issue will be included into MTTR calculation. label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MTTR-inclusion A label telling that issue will be included into MTTR calculation. [Type] Crash
Projects
None yet
Development

No branches or pull requests

3 participants