ConcurrentModificationException in 20.5.0

85 views
Skip to first unread message

markus.w...@gmail.com

unread,
Dec 14, 2021, 2:19:12 AM12/14/21
to Google Mobile Ads SDK Developers
This is a stacktrace I just saw in the Google Play Console, from an Android 12 device:

java.util.ConcurrentModificationException:         at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:760)
        at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:793)
        at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:791)
        at com.google.android.gms.ads.internal.csi.b.b(:com.google.android.gms.policy_ads_fdr_dynamite@213806100@213806100057.397311113.397311113:2)
        at com.google.android.gms.ads.internal.csi.a.run(:com.google.android.gms.policy_ads_fdr_dynamite@213806100@213806100057.397311113.397311113:28)
  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:920)

And no, I cannot provide Charles logs, don't ask.

Mobile Ads SDK Forum Advisor

unread,
Dec 14, 2021, 5:20:52 AM12/14/21
to markus.w...@gmail.com, google-adm...@googlegroups.com
Hi Markus,

Thank you for reaching out to us.

For us to further investigate this, could you please provide the following details via Reply privately to author option or send it directly to mobileads...@gmail.com? Kindly inform us on this thread if you sent it directly to the email provided.
  • Sample app
  • Steps to replicate
  • SDK Version Used
Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2TKwFF:ref

markus.w...@gmail.com

unread,
Dec 14, 2021, 5:24:57 AM12/14/21
to Google Mobile Ads SDK Developers
Ah yes, the standard response...

If I see a crash in the Google Play Console there is usually no way for me to reproduce the issue, since I don't see the same ads as the users do.

SDK version is 20.5.0.

Markus

Mobile Ads SDK Forum Advisor

unread,
Dec 14, 2021, 11:38:21 PM12/14/21
to markus.w...@gmail.com, google-adm...@googlegroups.com

Hi Markus,

Thank you for your response.

Can you confirm if you have any mediation used in your project? Also, if you can provide the complete logs you encountered as well as the affected device and version. You can send it via Reply privately to author option or send it directly to mobileads...@gmail.com. Kindly inform us on this thread if you sent it directly to the email provided.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2TKwFF:ref

markus.w...@gmail.com

unread,
Dec 15, 2021, 4:41:03 AM12/15/21
to Google Mobile Ads SDK Developers
I don't have any mediation used in my project. The SDK version is 20.5.0.

I can only give you the information I see in the Google Play Console, it does not include log output.

So far it's only one report: Android 12 (SDK 31), Google Pixel 4 XL

Again, the stack trace is:


java.util.ConcurrentModificationException:         at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:760)
        at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:793)
        at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:791)
        at com.google.android.gms.ads.internal.csi.b.b(:com.google.android.gms.policy_ads_fdr_dynamite@213806100@213806100057.397311113.397311113:2)
        at com.google.android.gms.ads.internal.csi.a.run(:com.google.android.gms.policy_ads_fdr_dynamite@213806100@213806100057.397311113.397311113:28)
  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:920)

Mobile Ads SDK Forum Advisor

unread,
Dec 16, 2021, 12:48:09 AM12/16/21
to markus.w...@gmail.com, google-adm...@googlegroups.com

Hi Markus,

Thank you for your response.

We're unable to reproduce this error in our Sample App Android, in order for us to debug further, we'll be needing a sample app that can reliably reproduce the reported behavior. If the issue were not reliably reproducible, kindly provide to us the percentage occurrence of the said crash instead. Once provided, we will share this to the rest of the team for further investigation.

Mobile Ads SDK Forum Advisor

unread,
Dec 16, 2021, 12:53:19 AM12/16/21
to markus.w...@gmail.com, google-adm...@googlegroups.com

Hi Markus,

In addition to what I requested, you can send it via Reply privately to author option or send it directly to mobileads...@gmail.com. Kindly inform us on this thread if you sent it directly to the email provided.

Reply all
Reply to author
Forward
0 new messages