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

All androidTest in HomeActivityTest fail at the moment. #829

Open
keyboardsurfer opened this issue Apr 27, 2020 · 0 comments
Open

All androidTest in HomeActivityTest fail at the moment. #829

keyboardsurfer opened this issue Apr 27, 2020 · 0 comments

Comments

@keyboardsurfer
Copy link
Collaborator

Bug report for failing test described in #828

io.plaidapp.ui.HomeActivityTest > drawerStaysOpenAfterRotation[Pixel_3_API_29(AVD) - 10] FAILED
        java.util.ConcurrentModificationException
        at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:757)
[InstrumentationResultParser]: Ignoring repeated failed event for io.plaidapp.ui.HomeActivityTest#drawerStaysOpenAfterRotation. Stack: java.lang.RuntimeException: Unable to destroy activity {io.plaidapp/io.pl
aidapp.ui.HomeActivity}: java.util.ConcurrentModificationException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4941)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4970)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:757)
at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:785)
at io.plaidapp.core.data.DataManager.cancelLoading(DataManager.kt:245)
at io.plaidapp.ui.HomeViewModel.onCleared(HomeViewModel.kt:129)
at androidx.lifecycle.ViewModel.clear(ViewModel.java:139)
at androidx.lifecycle.ViewModelStore.clear(ViewModelStore.java:62)
at androidx.activity.ComponentActivity$3.onStateChanged(ComponentActivity.java:119)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:361)
at androidx.lifecycle.LifecycleRegistry.backwardPass(LifecycleRegistry.java:316)
at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:334)
at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:145)
at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:131)
at androidx.lifecycle.ReportFragment.dispatch(ReportFragment.java:123)
at androidx.lifecycle.ReportFragment.onDestroy(ReportFragment.java:108)
at android.app.Fragment.performDestroy(Fragment.java:2794)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1456)
at android.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1581)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1642)
at android.app.FragmentManagerImpl.dispatchMoveToState(FragmentManager.java:3052)
at android.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:3032)
at android.app.FragmentController.dispatchDestroy(FragmentController.java:250)
at android.app.Activity.performDestroy(Activity.java:8047)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1334)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnDestroy(MonitoringInstrumentation.java:661)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4926)
... 11 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant