AdMob SDK(Android) NullPointerException collected from Firebase

119 views
Skip to first unread message

jasonwu...@gmail.com

unread,
Nov 18, 2020, 10:59:49 PM11/18/20
to Google Mobile Ads SDK Developers
Platform: Android
AdMob SDK Version: v19.3.0
Devices: Mainly HUAWEI (83%)
OS: Android 9 (83%), Android 8 (13%)
Crash Stack:
Fatal Exception: java.lang.NullPointerException: throw with null exception
       at com.google.android.gms.internal.ads.zzelw.zza(zzelw.java:2413)
       at com.google.android.gms.internal.ads.zzekh.zza(zzekh.java:93)
       at com.google.android.gms.internal.ads.zzekh.zzb(zzekh.java:136)
       at com.google.android.gms.internal.ads.zzekh.zza(zzekh.java:134)
       at com.google.android.gms.internal.ads.zzgt.zzb(zzgt.java:28)
       at com.google.android.gms.internal.ads.zzdui.zzej(zzdui.java:118)
       at com.google.android.gms.internal.ads.zzdui.zzp(zzdui.java:10)
       at com.google.android.gms.internal.ads.zzdp.zzp(zzdp.java:173)
       at com.google.android.gms.internal.ads.zzdp.zzbq(zzdp.java:40)
       at com.google.android.gms.internal.ads.zzdp.zza(zzdp.java:9)
       at com.google.android.gms.ads.internal.zzf.run(zzf.java:103)
       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)

We have no idea what's happening about the issue. We received the msg from the Firebase crash analytics platform. Could you please help confirm the cause of the crash and whether it can be fixed.

Thanks,
Jason

Mobile Ads SDK Forum Advisor Prod

unread,
Nov 19, 2020, 2:19:25 AM11/19/20
to jasonwu...@gmail.com, google-adm...@googlegroups.com

Hi Jason,

Thank you for reaching out to us.

The team is currently aware of this issue, and is already investigating on this. Rest assured that we'll keep you updated.

Google Logo
Ziv Yves Sanchez
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q27v2bQ:ref

szwarc...@gmail.com

unread,
Nov 26, 2020, 2:07:20 AM11/26/20
to Google Mobile Ads SDK Developers
Have same error from production app:

Stack trace:
java.lang.NullPointerException
        at java.util.Objects.requireNonNull(Objects.java:203)
        at com.google.android.gms.internal.ads.zzelw.zza(com.google.android.gms:play-services-gass@@19.5.0:2413)
        at com.google.android.gms.internal.ads.zzekh.zza(com.google.android.gms:play-services-gass@@19.5.0:93)
        at com.google.android.gms.internal.ads.zzekh.zzb(com.google.android.gms:play-services-gass@@19.5.0:136)
        at com.google.android.gms.internal.ads.zzekh.zza(com.google.android.gms:play-services-gass@@19.5.0:134)
        at com.google.android.gms.internal.ads.zzgt.zzb(com.google.android.gms:play-services-gass@@19.5.0:28)
        at com.google.android.gms.internal.ads.zzdui.zzej(com.google.android.gms:play-services-gass@@19.5.0:118)
        at com.google.android.gms.internal.ads.zzdui.zzp(com.google.android.gms:play-services-gass@@19.5.0:10)
        at com.google.android.gms.internal.ads.zzdp.zzp(com.google.android.gms:play-services-ads@@19.5.0:173)
        at com.google.android.gms.internal.ads.zzdp.zzbq(com.google.android.gms:play-services-ads@@19.5.0:40)
        at com.google.android.gms.internal.ads.zzdp.zza(com.google.android.gms:play-services-ads@@19.5.0:9)
        at com.google.android.gms.ads.internal.zzf.run(com.google.android.gms:play-services-ads@@19.5.0:103)
        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:784) 

Device:
Mainly HONOR JSN-AL00, android 8.1.0

Using:
com.google.firebase:firebase-ads:19.5.0

Mobile Ads SDK Forum Advisor Prod

unread,
Nov 26, 2020, 4:22:32 AM11/26/20
to szwarc...@gmail.com, google-adm...@googlegroups.com

Hi there,



Thank you for reaching out to us.

I'll share your report to the rest of the team in order to help with our ongoing investigation. We'll keep you updated on this.

Mobile Ads SDK Forum Advisor Prod

unread,
Dec 8, 2020, 8:37:31 AM12/8/20
to szwarc...@gmail.com, jasonwu...@gmail.com, google-adm...@googlegroups.com
Hi everyone,

There's good news, version 19.6.0 of the Android SDK is out and it has a fix to these null pointer exception crashes. Please try it out and get back to is if you still see issues.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q27v2bQ:ref

AndyW

unread,
Dec 10, 2020, 4:22:42 AM12/10/20
to Google Mobile Ads SDK Developers
I've just released an update of a title with 19.6.0, and it looks like I'm still getting this crash. For us, it's mainly Android 10 (75%), with the rest split between Android 8 and 9.

Fatal Exception: java.lang.NullPointerException
       at java.util.Objects.requireNonNull(Objects.java:203)
       at com.google.android.gms.internal.ads.zzemh.zza(zzemh.java:2415)
       at com.google.android.gms.internal.ads.zzekq.zza(zzekq.java:93)
       at com.google.android.gms.internal.ads.zzekq.zzb(zzekq.java:136)
       at com.google.android.gms.internal.ads.zzekq.zza(zzekq.java:134)
       at com.google.android.gms.internal.ads.zzgt.zzb(zzgt.java:28)
       at com.google.android.gms.internal.ads.zzdum.zzek(zzdum.java:118)
       at com.google.android.gms.internal.ads.zzdum.zzp(zzdum.java:10)

       at com.google.android.gms.internal.ads.zzdp.zzp(zzdp.java:173)
       at com.google.android.gms.internal.ads.zzdp.zzbq(zzdp.java:40)
       at com.google.android.gms.internal.ads.zzdp.zza(zzdp.java:9)
       at com.google.android.gms.ads.internal.zzf.run(zzf.java:103)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:764)

I think you might need to take another run at the fix. This represents the majority of the crashes in our title.

Thanks,
Andy.

Mobile Ads SDK Forum Advisor Prod

unread,
Dec 10, 2020, 9:59:19 AM12/10/20
to an...@ftgames.com, google-adm...@googlegroups.com
Hi Andy,

Thank you for responding back with this information. I work along with Aryeh and Ziv. As such I will be helping you today. I was wondering if you could pass along any additional information that you have about what you are seeing. As far as the numbers, any other stack traces you are seeing. Have you seen a pattern or time within the app where the crashes seem prevalent the most?

Any way to get a stripped down version of the app also? So that we can test your implementation on our end. This will allow us to look at what exactly is happening.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q27v2bQ:ref
Reply all
Reply to author
Forward
0 new messages