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

App Crashing with error #71

Open
yash1ts opened this issue May 2, 2020 · 0 comments
Open

App Crashing with error #71

yash1ts opened this issue May 2, 2020 · 0 comments

Comments

@yash1ts
Copy link

yash1ts commented May 2, 2020

I created a new API key which has no restrictions but still getting this error.
I used the same key for maps_api_key and android_api_key . Are they different?

Crash log:

--------- beginning of crash 2020-05-03 03:11:46.660 7178-7178/com.app.screencontroladmin E/AndroidRuntime: FATAL EXCEPTION: main Process: com.app.screencontroladmin, PID: 7178 java.lang.BootstrapMethodError: Exception from call site #4 bootstrap method at okhttp3.internal.Util.<clinit>(Util.java:87) at okhttp3.internal.Util.immutableList(Util.java:234) at okhttp3.OkHttpClient.<clinit>(OkHttpClient.java:124) at okhttp3.OkHttpClient$Builder.<init>(OkHttpClient.java:449) at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$2.invoke(RepositoryModule.kt:31) at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$2.invoke(Unknown Source:4) at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54) at org.koin.core.instance.SingleDefinitionInstance.get(SingleDefinitionInstance.kt:40) at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70) at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165) at org.koin.core.scope.Scope.get(Scope.kt:128) at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$3.invoke(RepositoryModule.kt:55) at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$3.invoke(Unknown Source:4) at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54) at org.koin.core.instance.SingleDefinitionInstance.get(SingleDefinitionInstance.kt:40) at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70) at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165) at org.koin.core.scope.Scope.get(Scope.kt:128) at com.rtchagas.pingplacepicker.inject.ViewModelModuleKt$viewModelModule$1$1.invoke(ViewModelModule.kt:18) at com.rtchagas.pingplacepicker.inject.ViewModelModuleKt$viewModelModule$1$1.invoke(Unknown Source:4) at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54) at org.koin.core.instance.FactoryDefinitionInstance.get(FactoryDefinitionInstance.kt:37) at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70) at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165) at org.koin.core.scope.Scope.get(Scope.kt:128) at org.koin.android.viewmodel.ViewModelResolutionKt$createViewModelProvider$1.create(ViewModelResolution.kt:63) at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:187) at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:150) at org.koin.android.viewmodel.ViewModelResolutionKt.getInstance(ViewModelResolution.kt:40) at org.koin.android.viewmodel.ViewModelResolutionKt.getViewModel(ViewModelResolution.kt:20) at org.koin.android.viewmodel.ext.android.LifecycleOwnerExtKt.getViewModel(LifecycleOwnerExt.kt:85) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$1.invoke(LifecycleOwnerExt.kt:95) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$1.invoke(Unknown Source:0) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(Unknown Source:7) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:501) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.access$loadNearbyPlaces(PlacePickerActivity.kt:54) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:341) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:54) at com.google.android.gms.tasks.zzn.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6831) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927) Caused by: java.lang.ClassCastException: Bootstrap method returned null at okhttp3.internal.Util.<clinit>(Util.java:87)  at okhttp3.internal.Util.immutableList(Util.java:234)  at okhttp3.OkHttpClient.<clinit>(OkHttpClient.java:124)  at okhttp3.OkHttpClient$Builder.<init>(OkHttpClient.java:449)  at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$2.invoke(RepositoryModule.kt:31)  at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$2.invoke(Unknown Source:4)  at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54)  at org.koin.core.instance.SingleDefinitionInstance.get(SingleDefinitionInstance.kt:40)  at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70)  at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165)  at org.koin.core.scope.Scope.get(Scope.kt:128)  at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$3.invoke(RepositoryModule.kt:55)  at com.rtchagas.pingplacepicker.inject.RepositoryModuleKt$repositoryModule$1$3.invoke(Unknown Source:4)  at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54)  at org.koin.core.instance.SingleDefinitionInstance.get(SingleDefinitionInstance.kt:40)  at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70)  at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165)  at org.koin.core.scope.Scope.get(Scope.kt:128)  at com.rtchagas.pingplacepicker.inject.ViewModelModuleKt$viewModelModule$1$1.invoke(ViewModelModule.kt:18)  at com.rtchagas.pingplacepicker.inject.ViewModelModuleKt$viewModelModule$1$1.invoke(Unknown Source:4)  at org.koin.core.instance.DefinitionInstance.create(DefinitionInstance.kt:54)  at org.koin.core.instance.FactoryDefinitionInstance.get(FactoryDefinitionInstance.kt:37)  at org.koin.core.definition.BeanDefinition.resolveInstance(BeanDefinition.kt:70)  at org.koin.core.scope.Scope.resolveInstance(Scope.kt:165)  at org.koin.core.scope.Scope.get(Scope.kt:128)  at org.koin.android.viewmodel.ViewModelResolutionKt$createViewModelProvider$1.create(ViewModelResolution.kt:63)  at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:187)  at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:150)  at org.koin.android.viewmodel.ViewModelResolutionKt.getInstance(ViewModelResolution.kt:40)  at org.koin.android.viewmodel.ViewModelResolutionKt.getViewModel(ViewModelResolution.kt:20)  at org.koin.android.viewmodel.ext.android.LifecycleOwnerExtKt.getViewModel(LifecycleOwnerExt.kt:85)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$1.invoke(LifecycleOwnerExt.kt:95)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$1.invoke(Unknown Source:0)  at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(Unknown Source:7)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:501)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.access$loadNearbyPlaces(PlacePickerActivity.kt:54)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:341)  at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:54)  at com.google.android.gms.tasks.zzn.run(Unknown Source:4)  at android.os.Handler.handleCallback(Handler.java:873)  at android.os.Handler.dispatchMessage(Handler.java:99)  at android.os.Looper.loop(Looper.java:201)  at android.app.ActivityThread.main(ActivityThread.java:6831)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant