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

[BUG] Android: Fix crash in exposures - processExposures #631

Closed
dobromirdobrev opened this issue May 7, 2021 · 1 comment
Closed

[BUG] Android: Fix crash in exposures - processExposures #631

dobromirdobrev opened this issue May 7, 2021 · 1 comment
Assignees
Labels
Type: Bug Something isn't working

Comments

@dobromirdobrev
Copy link
Collaborator

Describe the bug
Fix crash in Android reported in firebase console. Stacktrace:
Fatal Exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1441) at java.util.HashMap$KeyIterator.next(HashMap.java:1465) at edu.illinois.covid.exposure.ExposurePlugin.processExposures(ExposurePlugin.java:39) at edu.illinois.covid.exposure.ExposurePlugin.access$1800(ExposurePlugin.java) at edu.illinois.covid.exposure.ExposurePlugin$9.run(ExposurePlugin.java:2) at java.util.TimerThread.mainLoop(TimerThread.java:555) at java.util.TimerThread.run(TimerThread.java:505)

To Reproduce
There are no clear steps for reproducing

Expected behavior
No crash

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Android

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
@dobromirdobrev dobromirdobrev added the Type: Bug Something isn't working label May 7, 2021
@dobromirdobrev dobromirdobrev self-assigned this May 7, 2021
dobromirdobrev added a commit that referenced this issue May 7, 2021
dobromirdobrev added a commit that referenced this issue May 7, 2021
* Android: create copy of items that will be removed. Fix ConcurrentModificationException. [#631]

* Update CHANGELOG.md
@dobromirdobrev
Copy link
Collaborator Author

Fixed in 2.10.23 and above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant