https://kotlinlang.org logo
#coroutines
Title
# coroutines
t

Tmpod

02/08/2023, 5:57 PM
Hello! I have just gotten a very weird and surprising exception, which I can't decipher its origin and can't seem to find that
handleFatalException
method its talking about.
Copy code
Exception in thread "DefaultDispatcher-worker-4" kotlinx.coroutines.CoroutinesInternalError: Fatal exception in coroutines machinery for DispatchedContinuation[Dispatchers.Default, Continuation at io.ktor.client.HttpClient.execute$ktor_client_core(HttpClient.kt:191)@130b0399]. Please read KDoc to 'handleFatalException' method and report this incident to maintainers
Any ideas? Thank you :3
o

Oliver.O

02/08/2023, 8:34 PM
This is probably the relevant documentation. If you're on the JVM, such errors can occur when running out of (memory) resources. Other than that, they are pretty rare and you might want to file a bug with a reproducer.
t

Tmpod

02/08/2023, 8:48 PM
I see. The behaviour seems pretty erratic and thus it is very hard to track and reproduce, however I'm definitely not running out of memory.
4 Views