Skip to main content
Question

com.revenuecat.purchases.paywalls.FontLoader.addFileToCache

  • October 7, 2025
  • 3 replies
  • 44 views

Forum|alt.badge.img+4

i am not using purchases_ui_flutter anymore i had it and then i deleted it but in the google console i am getting this crash report on the version that doesn’t include purchases_ui_flutter is this crash has any connection with the purchases_ui_flutter package or there is another reason for this crash.

Exception java.util.ConcurrentModificationException: at java.util.LinkedHashMap$LinkedHashIterator.nextNode (LinkedHashMap.java:1061) at java.util.LinkedHashMap$LinkedKeyIterator.next (LinkedHashMap.java:1084) at com.revenuecat.purchases.paywalls.FontLoader.addFileToCache (FontLoader.kt:119) at com.revenuecat.purchases.paywalls.FontLoader.access$getFontInfosForHash$p (FontLoader.kt:27) at com.revenuecat.purchases.paywalls.FontLoader.access$addFileToCache (FontLoader.kt:27) at com.revenuecat.purchases.paywalls.FontLoader$startFontDownload$1.invokeSuspend (FontLoader.kt:90) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:101) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.kt:113) at kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:89) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.kt:589) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:823) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:720) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:707)

 

This post has been closed for comments

3 replies

alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@Salahelden

Thank you for reaching out! 

As you mentioned, this crash relates directly to the purchases_ui_flutter package. Therefore, if your app doesn’t include this package, then this crash should not appear. 

To better understand what may be happening, could you please share the following:

  • Are you getting this crash when running your app locally?
  • If you’re getting this crash in production or during internal testing, could it be possible that the version of your app for that user still contains the purchases_ui_flutter package?
  • Full Stack trace of the exception, if possible
  • SDK version you’re using
  • Your app’s version where you’re getting this exception
    • To check our internal logs for any traces of Paywall calls.

Thanks!


Forum|alt.badge.img+4
  • Author
  • New Member
  • October 20, 2025

the problem was that we have an active paywall in revenuecat dashboard but we don’t use the purchase_ui_flutter but purchases_flutter download the Font for the paywall that was the problem i guess after we deactivated the paywall from the revenuceCat Dashboard the crash stopped


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • October 27, 2025

Hi ​@Salahelden,

Thank you for sharing it - this is very useful!

I’m glad that you found the issue and it’s not crashing anymore.

 

Best,