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

TrackerEvent.<init> - ConcurrentModificationException #692

Closed
ShivaS0111 opened this issue Jun 18, 2024 · 7 comments
Closed

TrackerEvent.<init> - ConcurrentModificationException #692

ShivaS0111 opened this issue Jun 18, 2024 · 7 comments
Assignees
Labels
type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.

Comments

@ShivaS0111
Copy link

ShivaS0111 commented Jun 18, 2024

Describe the bug
Fatal Exception: java.util.ConcurrentModificationException

To Reproduce
unable to reproduce in dev environment, facing issue in prod, reported in the firebase crashlog.

Expected behavior
should not throw an error

Screenshots
Screenshot 2024-06-18 at 2 14 29 PM
Screenshot 2024-06-18 at 2 15 38 PM

log file
snowplow_crash_issue_86b88a0970251b5bc3b1863997677833_crash_session_66713D77028800011DFB8A366C99B6D9_DNE_0_v2_stacktrace.txt

Device informatoin (please complete the following information):

  • Samsung Galaxy S9

  • OS: Android 10

  • Google Pixel 8 Pro

  • OS: Android 10

  • LGE Velvet

  • OS: Android 14

  • Huawei Y9 Prime 2019

  • OS: Android 10

  • Huawei P30 Pro

  • OS: Android 10

  • Xiaomi Redmi Note 10 5G

  • OS: Android 13

@ShivaS0111 ShivaS0111 added the type:defect Bugs or weaknesses. The issue has to contain steps to reproduce. label Jun 18, 2024
@jbeemster
Copy link
Member

Hi @ShivaS0111 which version of the Tracker are you using?

@ShivaS0111
Copy link
Author

HI @jbeemster, Snowplow tracker version: 4.1.2

@ShivaS0111
Copy link
Author

Hi @jbeemster, any update on this, need to upgrade to any specific version?

@matus-tomlein
Copy link
Contributor

Hi @ShivaS0111, thanks for getting back to us on the tracker version!

Unfortunately, we believe the issue is still present in the latest version of the tracker. We have added this to our backlog and will try to address in our upcoming sprints.

@avinash-ivy
Copy link

Hi @matus-tomlein
Is there an ETA you can provide? We have decided to use Snowplow for remote logging. However, after pushing our changes live, we were forced to disable this feature due to crashes, so remote logging is currently unavailable for our app. Based on your ETA, we will decide whether we need to search for an alternative solution.

@matus-tomlein
Copy link
Contributor

Sorry for the delay @avinash-ivy, this has been added to our next sprint, so should be released in around 2 weeks.

@matus-tomlein
Copy link
Contributor

matus-tomlein commented Aug 21, 2024

@avinash-ivy We are currently working on this and just to help us replicate – could you please let us know if at any point in your app, do you make changes to events that are already tracked? What I mean is that if you initialize an event (e.g.. using the SelfDescribing class), then you track it using tracker.track(event), is there a chance in parallel with this or after, the event instance is being modified?

Second question – alternatively, is it possible that the data that you pass to a SelfDescribingJson or the event using a dictionary is modified after it is tracked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.
Projects
None yet
Development

No branches or pull requests

4 participants