microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.7k stars 1.74k forks source link

Mapbox broke map api calls completly #812

Open kusznier opened 5 years ago

kusznier commented 5 years ago

Hi, On my Huawei p20 gallery crashes with following error. Also, any map api request ends up with empty map screen like (uber, Lime, and others) I have newest microg update.

2019-06-04 11:58:48,ERROR,Gallery2_Common_CrashHandler ,Fatal Gallery uncaughtException.Attempt to invoke interface method 'void com.google.android.gms.maps.internal.IUiSettingsDelegate.setZoomControlsEnabled(boolean)' on a null object reference

kusznier commented 5 years ago

Same thing on second device mi5 with different system

ghost commented 5 years ago

Please post the entire Logcat, not just the first line of the stack

kusznier commented 5 years ago

Here is from Gallery:

06-05 09:40:06.670 27554 27554 D GmsMultiArchLoader: Loading mapbox-gl from /data/user/0/com.android.gallery3d/cache/.gmscore/lib/arm64-v8a/libmapbox-gl.so 06-05 09:40:06.783 27554 27554 D AndroidRuntime: Shutting down VM 06-05 09:40:06.793 27554 27554 E AndroidRuntime: FATAL EXCEPTION: main 06-05 09:40:06.793 27554 27554 E AndroidRuntime: Process: com.android.gallery3d, PID: 27554 06-05 09:40:06.793 27554 27554 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.gms.maps.internal.IUiSettingsDelegate.setZoomControlsEnabled(boolean)' on a null object reference 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at com.google.android.gms.maps.UiSettings.setZoomControlsEnabled(Unknown Source:2) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at com.huawei.gallery.map.photomore.GoogleFragment.onViewCreated(GoogleFragment.java:52) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1432) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1752) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1821) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:797) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2595) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2382) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2337) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2244) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:702) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:891) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.os.Looper.loop(Looper.java:207) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7470) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) 06-05 09:40:06.793 27554 27554 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 06-05 09:40:06.793 27554 27554 E Gallery2_Common_CrashHandler : Fatal Gallery uncaughtException.Attempt to invoke interface method 'void com.google.android.gms.maps.internal.IUiSettingsDelegate.setZoomControlsEnabled(boolean)' on a null object reference

Here is Lime:

06-05 09:46:36.766 26082 26117 E GmsClient: unable to connect to service: com.google.android.gms.config.START on com.google.android.gms 06-05 09:46:36.771 8858 8858 E t : Failed to load maps module, use legacy 06-05 09:46:36.771 8858 8858 E t : com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.dynamite.DynamiteModule.a(Unknown Source:8) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.a.t.c(Unknown Source:4) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.a.t.b(Unknown Source:5) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.a.t.a(Unknown Source:24) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.d.a(Unknown Source:15) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.SupportMapFragment$b.i(Unknown Source:16) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.SupportMapFragment$b.a(Unknown Source:2) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.b.a.a(Unknown Source:18) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.b.a.a(Unknown Source:20) 06-05 09:46:36.771 8858 8858 E t : at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source:44) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.Fragment.onInflate(Fragment.java:1384) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.onCreateView(FragmentManager.java:3744) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:186) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:783) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.rInflate(LayoutInflater.java:874) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:835) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.inflate(LayoutInflater.java:515) 06-05 09:46:36.771 8858 8858 E t : at android.view.LayoutInflater.inflate(LayoutInflater.java:423) 06-05 09:46:36.771 8858 8858 E t : at com.limebike.rider.main.map.d.onCreateView(RiderMapFragment.kt:77) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:1460) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.f(FragmentManager.java:1784) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:1852) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.a.f(BackStackRecord.java:802) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.b(FragmentManager.java:2625) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:2411) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.b(FragmentManager.java:2366) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.j(FragmentManager.java:2273) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.f(FragmentManager.java:3273) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.r(FragmentManager.java:3229) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.Fragment.performActivityCreated(Fragment.java:2466) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:1483) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.f(FragmentManager.java:1784) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:1852) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.a.f(BackStackRecord.java:802) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.b(FragmentManager.java:2625) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.a(FragmentManager.java:2411) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.b(FragmentManager.java:2366) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.h.j(FragmentManager.java:2273) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.e.m(FragmentController.java:391) 06-05 09:46:36.771 8858 8858 E t : at androidx.fragment.app.c.onResume(FragmentActivity.java:517) 06-05 09:46:36.771 8858 8858 E t : at com.limebike.rider.RiderActivity.onResume(RiderActivity.java:500) 06-05 09:46:36.771 8858 8858 E t : at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1456) 06-05 09:46:36.771 8858 8858 E t : at android.app.Activity.performResume(Activity.java:7592) 06-05 09:46:36.771 8858 8858 E t : at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4272) 06-05 09:46:36.771 8858 8858 E t : at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4330) 06-05 09:46:36.771 8858 8858 E t : at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) 06-05 09:46:36.771 8858 8858 E t : at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) 06-05 09:46:36.771 8858 8858 E t : at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) 06-05 09:46:36.771 8858 8858 E t : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123) 06-05 09:46:36.771 8858 8858 E t : at android.os.Handler.dispatchMessage(Handler.java:109) 06-05 09:46:36.771 8858 8858 E t : at android.os.Looper.loop(Looper.java:207) 06-05 09:46:36.771 8858 8858 E t : at android.app.ActivityThread.main(ActivityThread.java:7470) 06-05 09:46:36.771 8858 8858 E t : at java.lang.reflect.Method.invoke(Native Method) 06-05 09:46:36.771 8858 8858 E t : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) 06-05 09:46:36.771 8858 8858 E t : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 06-05 09:46:36.791 26082 26117 E GmsClient: unable to connect to service: com.google.android.gms.config.START on com.google.android.gms

ghost commented 5 years ago

There should be more than just the first exception of the logcat

Nesaijn commented 5 years ago

My issue #928 is maybe related to that?