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

Thomas

07/30/2019, 7:04 PM
Sometimes I get reported exceptions like this:
Copy code
Fatal Exception: java.io.EOFException
       at okio.Buffer.skip + 881(Buffer.java:881)
       at okio.Buffer.clear + 874(Buffer.java:874)
       at okio.RealBufferedSource.close + 462(RealBufferedSource.java:462)
       at okio.RealBufferedSource$inputStream$1.close + 450(RealBufferedSource.java:450)
       at kotlinx.coroutines.io.jvm.javaio.ReadingKt$toByteReadChannel$2.invokeSuspend + 96(ReadingKt.java:96)
       at kotlinx.coroutines.io.jvm.javaio.ReadingKt$toByteReadChannel$2.create(ReadingKt.java:10)
       at kotlinx.coroutines.io.CoroutinesKt$launchChannel$job$1.invokeSuspend + 123(CoroutinesKt.java:123)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith + 33(BaseContinuationImpl.java:33)
       at kotlinx.coroutines.DispatchedTask.run + 241(DispatchedTask.java:241)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely + 594(CoroutineScheduler.java:594)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely + 60(CoroutineScheduler.java:60)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run + 740(CoroutineScheduler.java:740)
It contains no references to my own code. This makes it very difficult to fix these exceptions. I already have debug mode enabled for Coroutines. Does anyone here have any suggestions how I could fix something like this?
d

Dominaezzz

07/30/2019, 7:06 PM
#squarelibraries might help too.
👍 1
10 Views