Android - Fabric Crash, ConcurrentModificationException from Google Analytics

Description

According to Fabric, this was introduced in 2.1.0.

http://stackoverflow.com/questions/24188624/java-util-concurrentmodificationexception-arraylist http://stackoverflow.com/questions/6866238/concurrent-modification-exception-adding-to-an-arraylist

Fatal Exception: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:350)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:379)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:377)
at com.segment.analytics.internal.integrations.GoogleAnalyticsIntegration.attachCustomDimensionsAndMetrics(GoogleAnalyticsIntegration.java:264)
at com.segment.analytics.internal.integrations.GoogleAnalyticsIntegration.screen(GoogleAnalyticsIntegration.java:132)
at com.segment.analytics.IntegrationOperation$11.run(IntegrationOperation.java:184)
at com.segment.analytics.IntegrationManager.run(IntegrationManager.java:372)
at com.segment.analytics.IntegrationManager.performEnqueue(IntegrationManager.java:356)
at com.segment.analytics.IntegrationManager.performEnqueue(IntegrationManager.java:351)
at com.segment.analytics.IntegrationManager$IntegrationManagerHandler.handleMessage(IntegrationManager.java:448)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.os.HandlerThread.run(HandlerThread.java:60)

https://fabric.io/edx-inc/android/apps/org.edx.mobile/issues/56d5ac27f5d3a7f76b38d334

Epic Link

None

Activity

Show:
Marco Morales
December 15, 2016, 5:33 PM

This seems to be hte second highest cause of user facing crashes, would be great to further triage / size this one. cc'ed

Priority

CAT-2

Assignee

Unassigned

Fix versions

None

Sprint

None

Story Points

None

Reporter

Christopher Lee

Components