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

Crashes with newer version of Kotlin #88

Closed
Ratul-Bin-Tazul opened this issue Aug 10, 2021 · 0 comments
Closed

Crashes with newer version of Kotlin #88

Ratul-Bin-Tazul opened this issue Aug 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Ratul-Bin-Tazul
Copy link

Ratul-Bin-Tazul commented Aug 10, 2021

Was working perfectly. But crashing as we updated the Kotlin version.

Stacktrace:

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.hishabee.business, PID: 20511
java.lang.NoSuchMethodError: No virtual method elapsedNow-UwyO8pc()D in class Lkotlin/time/TimeMark; or its super classes (declaration of 'kotlin.time.TimeMark' appears in /data/app/com.hishabee.business-Un2E2XPWpyVrksxQcCiILg==/base.apk!classes4.dex)
at org.koin.core.time.MeasureKt.measureDuration(Measure.kt:63)
at org.koin.core.KoinApplication.modules(KoinApplication.kt:63)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:19)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:11)
at org.koin.dsl.KoinApplicationKt.koinApplication(KoinApplication.kt:28)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:16)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:11)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at com.rtchagas.pingplacepicker.inject.PingKoinContext.getKoin(Unknown Source:2)
at com.rtchagas.pingplacepicker.inject.PingKoinComponent$DefaultImpls.getKoin(PingKoinComponent.kt:36)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getKoin(PlacePickerActivity.kt:52)
at org.koin.android.ext.android.ComponentCallbackExtKt.getKoin(ComponentCallbackExt.kt:31)
at org.koin.android.viewmodel.ext.android.ActivityExtKt.getViewModel(ActivityExt.kt:66)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$2.invoke(ActivityExt.kt:68)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$2.invoke(Unknown Source:0)
at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(Unknown Source:2)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:492)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.access$loadNearbyPlaces(PlacePickerActivity.kt:52)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:332)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:52)
at com.google.android.gms.tasks.zzn.run(com.google.android.gms:play-services-tasks@@17.2.0:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

@rtchagas rtchagas self-assigned this Aug 14, 2021
@rtchagas rtchagas added the bug Something isn't working label Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants