Attempt to read from null array SDK 20.1.0 Android

93 views
Skip to first unread message

Viet Dzung Pham

unread,
May 28, 2021, 10:21:35 AM5/28/21
to Google Mobile Ads SDK Developers

This bug not occurs with our test devices, but customer.
It crash on  Xiaomi Redmi Note 8 Pro, Android 10, Crash when call InterstitialAd.load;
Crashlog:

Fatal Exception: java.lang.NullPointerException: Attempt to read from null array
       at com.google.android.gms.ads.internal.util.zzh.╦è(zzh.java:66)
       at com.google.android.gms.ads.internal.util.zzh.<init>(zzh.java:8)
       at com.google.android.gms.ads.internal.util.zzj.zza(zzj.java:3)
       at com.google.android.gms.ads.internal.util.zzj.zzg(zzj.java:3)
       at com.google.android.gms.ads.internal.util.zzj.zzi(zzj.java:3)
       at com.google.android.gms.ads.internal.util.zzj.zzj(zzj.java:3)
       at com.google.android.gms.ads.internal.util.zzj.zzC(zzj.java:3)
       at com.google.android.gms.internal.ads.zzazu.zzd$47a48f2f(zzazu.java:4)
       at com.google.android.gms.internal.ads.zzbko.zzf(zzbko.java:1)
       at com.google.android.gms.internal.ads.zzbko.zzD(zzbko.java:1)
       at com.google.android.gms.internal.ads.zzbke.zzb(zzbke.java:6)
       at com.google.android.gms.internal.ads.zzdot.zza(zzdot.java:41)
       at com.google.android.gms.internal.ads.zzddi.zze(zzddi.java:5)
       at com.google.android.gms.internal.ads.zzddi.zzP(zzddi.java:1)
       at com.google.android.gms.internal.ads.zzddi.zzh(zzddi.java:1)
       at com.google.android.gms.internal.ads.zzddi.zzJ(zzddi.java:1)
       at com.google.android.gms.internal.ads.zzanf.zza$350c25a6(zzanf.java:3)
       at com.google.android.gms.ads.interstitial.InterstitialAd.load(InterstitialAd.java:6)

Mobile Ads SDK Forum Advisor Prod

unread,
May 28, 2021, 10:38:33 AM5/28/21
to dung...@gmail.com, google-adm...@googlegroups.com
Hi Viet,

Thank you for reporting this crash. To investigate further could you supply us the following:
  1. Can you replicate this crash in one of our sample apps?
  2. What SDK version does this occur on?
  3. What is the session to crash ratio on the Redmi Note 8?
  4. Can you provide a Charles Log when the crash happens?
Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HycQB:ref

Viet Dzung Pham

unread,
May 28, 2021, 10:52:50 AM5/28/21
to Google Mobile Ads SDK Developers
1, It not crash on our test devices (all Samsung, Android 9, 10 and 11), this crash in production and appear in Crashlytics .
2, SDK: 'com.google.android.gms:play-services-ads:20.1.0'
3, 100% It occur from other device from Xiaomi: Redmi Note 7 Pro, Redmi Note 8 Pro ,Redmi 9.
Realme: realme  c25, realme 6,  realme 8,  realme 5G include android 10 and 11.

4, Since it is customer device, there is no way to get Charles log.

Mobile Ads SDK Forum Advisor Prod

unread,
May 28, 2021, 1:24:13 PM5/28/21
to dung...@gmail.com, google-adm...@googlegroups.com
Hi Viet,

I brought this crash up with the rest of my team. We will get back to you as soon as possible.

Mobile Ads SDK Forum Advisor

unread,
Jan 28, 2022, 7:55:20 AM1/28/22
to dung...@gmail.com, google-adm...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages