Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException in SentryFrameMetricsCollector #2816

Closed
markushi opened this issue Jul 3, 2023 · 0 comments · Fixed by #2823
Closed

ConcurrentModificationException in SentryFrameMetricsCollector #2816

markushi opened this issue Jul 3, 2023 · 0 comments · Fixed by #2823
Assignees

Comments

@markushi
Copy link
Member

markushi commented Jul 3, 2023

Description

SDK Console reports a crash around our metrics collector

java.util.ConcurrentModificationException
io.sentry.android.core.internal.util.SentryFrameMetricsCollector.lambda$new$2

Looks like the listenerMap is not correctly synchronized:
https://github.com/getsentry/sentry-java/blob/4e809acf9363b52dff9739ce3c903b13af468900/sentry-android-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.java#L37C7-L37C7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants