Hi Ads Team,
We also have a similar issue on our app, it has same affected android version and devices, but in our case the issue comes from play-service-ads library. Here's our stack trace:
Fatal Exception: java.lang.ExceptionInInitializerError:
at com.google.android.gms.internal.ads.zzgax.zzj(com.google.android.gms: play - services - ads @ @23 .4 .0: 2)
at com.google.android.gms.internal.ads.zzgax.zzl(com.google.android.gms: play - services - ads @ @23 .4 .0: 6)
at com.google.android.gms.internal.ads.zzgax.zzk(zzgax.java: 1)
at com.google.android.gms.internal.ads.zzgfo.zza(zzgfo.java: 1)
at com.google.android.gms.internal.ads.zzdwg.zzj(zzdwg.java: 43)
at com.google.android.gms.internal.ads.zzdwd.run(zzdwd.java: 1)
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: 923)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.AbstractCollection.size()'
on a null object reference
at com.google.android.gms.internal.ads.zzgav. < init > (com.google.android.gms: play - services - ads @ @23 .4 .0)
at com.google.android.gms.internal.ads.zzgax. < clinit > (com.google.android.gms: play - services - ads @ @23 .4 .0: 1)
at com.google.android.gms.internal.ads.zzgax.zzj(com.google.android.gms: play - services - ads @ @23 .4 .0: 2)
at com.google.android.gms.internal.ads.zzgax.zzl(com.google.android.gms: play - services - ads @ @23 .4 .0: 6)
at com.google.android.gms.internal.ads.zzgax.zzk(zzgax.java: 1)
at com.google.android.gms.internal.ads.zzgfo.zza(zzgfo.java: 1)
at com.google.android.gms.internal.ads.zzdwg.zzj(zzdwg.java: 43)
at com.google.android.gms.internal.ads.zzdwd.run(zzdwd.java: 1)
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: 923)
It looks like the crash is happen after we initial the ads SDK.
The crash is 100% in Android 11, affecting mostly chromebook devices (AMD Stoney Ridge Chromebook, Intel Gemini Lake Chromebook, Intel Jasper Lake Chromebook) but also a tiny amount of Lenovo 81WT and Samsung S22. We cannot reproduce the crash in
HP Chromebook 11 G8.
It's one of our top crashes, which is particularly concerning as it occurs during the SDK's early initialization phase. This early crash negatively impacts our reputation and user experience, making it a high-priority problem that requires immediate attention.
Is there a way to contains and or mitigate this issue?
Best Regards.
The contents of this message and any attachments are for use by the addressee named in this message and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. Any disclosure, copying, distribution or taking action in relation of the contents of this message is strictly prohibited and may be unlawful. Thank you for your cooperation.