Dear Google IMA SDK Support Team,
We are encountering a ConcurrentModificationException within the IMA SDK that appears to be related to WebView handling. We are writing to report this issue and request your assistance in resolving it.
Description of the Issue:
Our application is crashing with a java.util.ConcurrentModificationException within the IMA SDK. The stack trace consistently points to the ArrayList$Itr.checkForComodification method, suggesting that a collection is being modified while it is being iterated. The crash occurs within the IMA SDK's internal code related to WebView URL handling, specifically in the shouldOverrideUrlLoading flow.
Version:
ExoPlayer 2.13.3
Devices that reproduce the issue:
Almost every device (example: Pixel 7a, 8, 9)
If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=500Ht00001qY3qjIAC&entry.80707362=003078932. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
![]() |
IMA SDK Team |
[2025-05-23 13:57:39Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qY3qj:ref" (ADR-00307893)
Thank you for your prompt response.
We haven't been able to reproduce the issue on our end either. However, we are frequently encountering crashes reported in Firebase specifically related to SSAI live content preroll ads when using the IMA SDK.
We are using exoplayer extension-ima version 2.13.3. To confirm, we are not using any dummy ArrayLists or manually triggering callbacks.
Before uploading the entire project, we'd like to share a few relevant code snippets that might help you identify potential issues. Please let us know if you'd like us to share specific sections of our code.
Hi Imran,
Thank you for confirming that you are not using any dummy ArrayLists or manually triggering callbacks.
Since the issue is not replicating on our end, as requested earlier a sample project reproducing the issue would help us in investigating this issue so that we can have the visibility of your implementation and we may provide the solution.
You can provide the following details via reply privately to the author option or directly provide it to the link below.
If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=500Ht00001qY3qjIAC&entry.80707362=003078932. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
![]() |
IMA SDK Team |
[2025-06-04 22:09:06Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qY3qj:ref" (ADR-00307893)
Hi,
I saw you mentioned you are using the 2.13.1 version, which looks like a very old one. I would suggest upgrading it to the latest exoplayer extension-ima version 2.19.1. It's always best to use the latest SDK versions and get back to us if this occurs again.
![]() |
IMA SDK Team |
[2025-06-05 11:05:03Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qY3qj:ref" (ADR-00307893)