FabricMC / fabric-language-kotlin

Fabric language module for Kotlin.
Apache License 2.0
293 stars 33 forks source link

Fabric server timed out due to coroutine #70

Closed TheAyes closed 2 years ago

TheAyes commented 2 years ago

Made a server that runs with a few mods using kotlin however the server get's timed out if I try stopping it.

[08:25:20] [Server thread/ERROR]: Exception stopping the server
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 300000 ms
        at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) ~[org_jetbrains_kotlinx_kotlinx-coe-jvm-1.6.1-d112832ca8065f4e.jar:?]
        at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) ~[org_jetbrains_kotlinx_kotlinx-coe-jvm-1.6.1-d112832ca8065f4e.jar:?]
        at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:502) ~[org_jetbrains_kotlinx_kotlinx-coe-jvm-1.6.1-d112832ca8065f4e.jar:?]
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279) ~[org_jetbrains_kotlinx_kotlinx-coe-jvm-1.6.1-d112832ca8065f4e.jar:?]
        at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) ~[org_jetbrains_kotlinx_kotlinx-coe-jvm-1.6.1-d112832ca8065f4e.jar:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
jakobkmar commented 2 years ago

This is an issue with a mod (written in Kotlin) you installed, and not fabric-language-kotlin itself.

This mod seems to use timeouts incorrectly.

modmuss50 commented 2 years ago

👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.