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

[GHA] Flaky test [android-emulator]: ProgressListenerTests.completesOnClose #1628

Closed
cmelchior opened this issue Jan 12, 2024 · 2 comments
Closed

Comments

@cmelchior
Copy link
Contributor

cmelchior commented Jan 12, 2024

Saw this on Github actions: https://github.com/realm/realm-kotlin/runs/20418206939

java.lang.IllegalStateException: Cannot perform this operation on an invalid/deleted reference.
at io.realm.kotlin.internal.interop.NativePointerKt.<clinit>(NativePointer.kt:19)
at io.realm.kotlin.internal.interop.NativePointerKt.use(Unknown Source:0)
at io.realm.kotlin.internal.ConfigurationImpl.openRealm$suspendImpl(ConfigurationImpl.kt:114)
at io.realm.kotlin.internal.ConfigurationImpl.openRealm(Unknown Source:0)
at io.realm.kotlin.mongodb.internal.SyncConfigurationImpl.openRealm(SyncConfigurationImpl.kt:138)
at io.realm.kotlin.internal.RealmImpl$1.invokeSuspend(RealmImpl.kt:133)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at io.realm.kotlin.internal.platform.CoroutineUtilsSharedJvmKt.runBlocking(CoroutineUtilsSharedJvm.kt:22)
at io.realm.kotlin.internal.platform.CoroutineUtilsSharedJvmKt.runBlocking$default(CoroutineUtilsSharedJvm.kt:21)
at io.realm.kotlin.internal.RealmImpl.<init>(RealmImpl.kt:115)
at io.realm.kotlin.internal.RealmImpl.<init>(Unknown Source:0)
at io.realm.kotlin.internal.RealmImpl$Companion.create$io_realm_kotlin_library(RealmImpl.kt:318)
at io.realm.kotlin.Realm$Companion.open(Realm.kt:83)
at io.realm.kotlin.test.mongodb.common.AppTests.encryptedMetadataRealm_openWithoutKeyThrows(AppTests.kt:466)
@cmelchior
Copy link
Contributor Author

Also failed here: https://github.com/realm/realm-kotlin/runs/20431309864 (on Android Emulator)

@cmelchior cmelchior changed the title Flaky test [android-emulator]: ProgressListenerTests.completesOnClose [GHA] Flaky test [android-emulator]: ProgressListenerTests.completesOnClose Jan 15, 2024
@cmelchior
Copy link
Contributor Author

Fixed by #1645

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant