gildor / kotlin-coroutines-retrofit

Kotlin Coroutines await() extension for Retrofit Call
Apache License 2.0
847 stars 64 forks source link

kotlin & coroutines & retrofit version bump #15

Closed rciurkot closed 7 years ago

rciurkot commented 7 years ago

This PR fixes runtime issues (such as one described below) by just upgrading to newest versions of kotlin and libs

Caused by: java.lang.NoSuchMethodError: No direct method <init>(Lkotlin/coroutines/experimental/Continuation;Z)V in class Lkotlinx/coroutines/experimental/CancellableContinuationImpl; or its super classes (declaration of 'kotlinx.coroutines.experimental.CancellableContinuationImpl' appears in /data/app/my.company.app-1/split_lib_dependencies_apk.apk)
                                                                               at ru.gildor.coroutines.retrofit.CallAwaitKt.awaitResult(CallAwait.kt:124)
                                                                               at my.company.app.login.LoginInteractor$login$1$1.doResume(LoginInteractor.kt:25)
                                                                               at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
                                                                               at kotlinx.coroutines.experimental.DispatchTask.run(CoroutineDispatcher.kt:235)
                                                                               at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1383)
                                                                               at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:256)
                                                                               at java.util.concurrent.ForkJoinPool$WorkQueue.localPopAndExec(ForkJoinPool.java:1083)
                                                                               at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1127)
                                                                               at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1961)
                                                                               at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1909)
                                                                               at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:128)
LouisCAD commented 7 years ago

Should update to Kotlin 1.1.3 now

gildor commented 7 years ago

@LouisCAD Thanks. Will update and publish