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

Breaks on newer kotlinx-coroutines #1

Open
Fuyukai opened this issue Jul 16, 2017 · 3 comments
Open

Breaks on newer kotlinx-coroutines #1

Fuyukai opened this issue Jul 16, 2017 · 3 comments

Comments

@Fuyukai
Copy link

Fuyukai commented Jul 16, 2017

Exception in thread "main" java.lang.NoSuchMethodError: kotlinx.coroutines.experimental.CancellableContinuationImpl.<init>(Lkotlin/coroutines/experimental/Continuation;Z)V
	at kotlinx.sockets.selector.SelectorManagerSupport$select$1.doResume(SelectorManagerSupport.kt:99)
	at kotlinx.sockets.selector.SelectorManagerSupport.select(SelectorManagerSupport.kt)
	at kotlinx.sockets.selector.OnDemandSelectorManager$select$1.doResume(OnDemandSelectorManager.kt:31)
	at kotlinx.sockets.selector.OnDemandSelectorManager.select(OnDemandSelectorManager.kt)
	at kotlinx.sockets.impl.ServerSocketImpl$accept$1.doResume(ServerSocketImpl.kt:22)
	at kotlinx.sockets.impl.ServerSocketImpl.accept(ServerSocketImpl.kt)
	at tf.veriny.hmq.HMQServer$serve$1.doResume(server.kt:39)
	at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
	at kotlinx.coroutines.experimental.DispatchTask.run(CoroutineDispatcher.kt:235)
	at kotlinx.coroutines.experimental.EventLoopImpl$QueuedRunnableTask.invoke(EventLoop.kt:156)
	at kotlinx.coroutines.experimental.EventLoopImpl$QueuedRunnableTask.invoke(EventLoop.kt:153)
	at kotlinx.coroutines.experimental.EventLoopImpl.processNextEvent(EventLoop.kt:111)
	at kotlinx.coroutines.experimental.BlockingCoroutine.joinBlocking(Builders.kt:205)
	at kotlinx.coroutines.experimental.BuildersKt.runBlocking(Builders.kt:150)
	at kotlinx.coroutines.experimental.BuildersKt.runBlocking$default(Builders.kt:142)
	at tf.veriny.hmq.HMQServer.serve(server.kt:30)
	at tf.veriny.hmq.MainKt.main(main.kt:17)```
@Fuyukai Fuyukai changed the title Breaks on kotlinx-coroutines 0.16 Breaks on newer kotlinx-coroutines Jul 16, 2017
@sergeymild
Copy link

The same problem

@RiadGahlouz
Copy link

image

I also have this problem

@fgutmann
Copy link

I think this library has been moved to ktor.
https://ktor.io/servers/raw-sockets.html

@cy6erGn0m Can you confirm this? If true, we should mention this in the Readme because this is is one of the top hits for "kotlin socket" on google.

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

4 participants