You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tested Rocket.Chat connector. During connection process gets an exception: Exception in thread "DefaultDispatcher-worker-1 @coroutine#8" java.lang.NoSuchMethodError: 'boolean kotlinx.coroutines.channels.Channel.isFull()' at chat.rocket.core.internal.realtime.socket.Socket$onMessage$$inlined$let$lambda$2.invokeSuspend(Socket.kt:349) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(8), "coroutine#8":StandaloneCoroutine{Cancelling}@72c89528, Dispatchers.Default]
serjk
changed the title
Rocket.Chat connector gets an exception during connection
[BUG] Rocket.Chat connector gets an exception during connection
Feb 27, 2023
serjk
changed the title
[BUG] Rocket.Chat connector gets an exception during connection
[Bug] Rocket.Chat connector gets an exception during connection
Feb 27, 2023
I've tested Rocket.Chat connector. During connection process gets an exception:
Exception in thread "DefaultDispatcher-worker-1 @coroutine#8" java.lang.NoSuchMethodError: 'boolean kotlinx.coroutines.channels.Channel.isFull()' at chat.rocket.core.internal.realtime.socket.Socket$onMessage$$inlined$let$lambda$2.invokeSuspend(Socket.kt:349) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(8), "coroutine#8":StandaloneCoroutine{Cancelling}@72c89528, Dispatchers.Default]
The problem is that rocket.chat connector uses rocket.chat.sdk which requires the old coroutine lib(v.1.1.1).
https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK/blob/app-3.5.1/dependencies.gradle
Tock uses newer coroutine lib version (v.1.6.4)
tock/pom.xml
Line 35 in a56f860
Rocket.Chat.sdk contains the fix but only on develop branch.There is no release to publish to mvn repository.
https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK/blob/develop/dependencies.gradle#L5
The text was updated successfully, but these errors were encountered: