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

Android Studio version: _____3.6
Firebase Component: _____ firebase-messaging
Component version: _____"20.1.0"

We are using firebase for push notifications. We have got this crash for few users repetitively, though we couldn't simulate, this is reported in crashlytics.

Can you please help us fix this. We got it around for 100 users and getting critical for us. OS Android 7, 8

Logs :

Fatal Exception: java.lang.AssertionError: No NameTypeIndex match for SHORT_STANDARD
at android.icu.impl.TimeZoneNamesImpl$ZNames.getNameTypeIndex(TimeZoneNamesImpl.java:724)
at android.icu.impl.TimeZoneNamesImpl$ZNames.getName(TimeZoneNamesImpl.java:790)
at android.icu.impl.TimeZoneNamesImpl.getTimeZoneDisplayName(TimeZoneNamesImpl.java:183)
at android.icu.text.TimeZoneNames.getDisplayName(TimeZoneNames.java:261)
at java.util.TimeZone.getDisplayName(TimeZone.java:405)
at java.util.Date.toString(Date.java:1066)
at java.util.Properties.store0(Properties.java:828)
at java.util.Properties.store(Properties.java:817)
at com.google.firebase.iid.zzq.zza(zzq.java:82)
at com.google.firebase.iid.zzq.zzb(zzq.java:8)
at com.google.firebase.iid.zzq.zza(zzq.java:5)
at com.google.firebase.iid.zzat.zzb(zzat.java:48)
at com.google.firebase.iid.FirebaseInstanceId.zzl(FirebaseInstanceId.java:48)
at com.google.firebase.iid.FirebaseInstanceId.zza(FirebaseInstanceId.java:131)
at com.google.firebase.iid.zzg.then(zzg.java:1)
at com.google.android.gms.tasks.zzf.run(zzf.java:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.
  • Hello @welishr Thanks for you reply..We are using following libs:
    "com.google.firebase:firebase-messaging:20.1.7”
    "com.google.firebase:firebase-core:9.2.0”
    “com.google.firebase:firebase-perf:19.0.7”

    Are you referring to upgrading - com.google.firebase:firebase-messaging:20.2.0 ?

    Hey @pnkshir. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

    If you have more information that will help us get to the bottom of this, just add a comment!

    Hey @pnkshir. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

    If you have more information that will help us get to the bottom of this, just add a comment!