Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Crash Reporting - NullPointer on toLowerCase

Tags:

android

I integrated Firebase Crash Reporting on my Android app and every couple of weeks I am getting this error. Nothing else is specified, only this:

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)

1

like image 728
Benjith binja Avatar asked Feb 03 '17 07:02

Benjith binja


2 Answers

this seems like an error on Google's side. Multiple people are reporting this crash on the exact same device with the exact same region. So it seems Google runs your app on a virtual or automated device and then that device crashes. This device seems to be a Nexus 5x with local us-US and API level 23.

Source: https://code.google.com/p/android/issues/detail?id=233549

@ssr already specify the issue https://issuetracker.google.com/issues/37329979

like image 192
Benjith binja Avatar answered Oct 15 '22 06:10

Benjith binja


This is internal to Google gms library. It has not been fixed and mostly occurs when Googles Prelaunch Testing happens in Playstore Publish

You can refer and track it here - https://issuetracker.google.com/issues/37329979

like image 26
appbootup Avatar answered Oct 15 '22 06:10

appbootup