Google Mobile Services (GMS): NullPointerPointerException from calling String.toLowerCase (java.util.Locale) '

I got this stack trace from Firebase Crash Reporting:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase(java.util.Locale)' on a null object reference bsz.d (:com.google.android.gms.DynamiteModulesC:6098) bta.run (:com.google.android.gms.DynamiteModulesC:1028) java.lang.Thread.run (Thread.java:818)

An accident occurred on a device with API 23.

Unlike some other stack stacks, this does not mention in which activity the failure occurred.

A stack trace indicates that the error is related to Google Play services. In my application, I am using Google Play Services version 9.4.0.

Here are the GMS and Firebase libraries that I use:

 compile 'com.google.android.gms:play-services-places:9.4.0' compile 'com.google.android.gms:play-services-plus:9.4.0' compile 'com.google.android.gms:play-services-auth:9.4.0' compile 'com.google.android.gms:play-services-gcm:9.4.0' compile 'com.google.android.gms:play-services-location:9.4.0' compile 'com.google.android.gms:play-services-maps:9.4.0' compile 'com.google.firebase:firebase-core:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-crash:9.4.0' 

I could not find a similar problem. But DynamiteModules seems to be connected to Firebase.

Does anyone know what could cause this crash?

Thanks in advance.

+6
source share

Source: https://habr.com/ru/post/1013062/


All Articles