ConcurrentModificationException on FetchedAppGateKeepersManager.getGateKeepersForApplication
eloisance opened this issue ยท 4 comments
eloisance commented
Checklist before submitting a bug report
- I've updated to the latest released version of the SDK
- I've searched for existing Github issues
- I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- I've read the Code of Conduct
- This issue is not security related and can safely be disclosed publicly on GitHub
Java version
1.8
Android version
17
Android SDK version
33
Installation platform & version
Gradle
Package
Core & AppEvents
Goals
After upgrading the Facebook SDK from 16.1.3
to 16.2.0
in our latest version 3.122.0
we started to see this crash for some of our users in Firebase. The crash seems to happen at the app startup because we don't have any logs in Firebase Crashlytics.

Expected results
No crash should happen
Actual results
Stacktrace :
Fatal Exception: java.util.ConcurrentModificationException:
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:757)
at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:780)
at com.facebook.internal.FetchedAppGateKeepersManager.getGateKeepersForApplication(FetchedAppGateKeepersManager.kt:165)
at com.facebook.internal.FetchedAppGateKeepersManager.getGateKeeperForKey(FetchedAppGateKeepersManager.kt:177)
at com.facebook.internal.FeatureManager.getGKStatus(FeatureManager.kt:107)
at com.facebook.internal.FeatureManager.isEnabled(FeatureManager.kt:54)
at com.facebook.internal.FeatureManager.isEnabled(FeatureManager.kt:54)
at com.facebook.internal.Utility.setAppEventAttributionParameters(Utility.kt:578)
at com.facebook.applinks.AppLinkData.fetchDeferredAppLinkFromServer(AppLinkData.java:143)
at com.facebook.applinks.AppLinkData.access$000(AppLinkData.java:36)
at com.facebook.applinks.AppLinkData$1.run(AppLinkData.java:131)
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:919)
Steps to reproduce
No able to reproduce
Code samples & details
No response
efguydan commented
I have this same bug. Is there anything that can be done about it?
efguydan commented
Hello. Is there anything that can be done about this? THe issue still persists.
Thank you
efguydan commented
JhinSir commented
Have you solved it?