Appboy / appboy-android-sdk

Public repo for the Braze Android SDK
https://www.braze.com
Other
152 stars 102 forks source link

[Bug]: java.util.ConcurrentModificationException #225

Closed thinhlamzalora closed 2 years ago

thinhlamzalora commented 2 years ago

Braze Android SDK Version

20.0.0

Steps To Reproduce

Cannot Reproduce but get a lot of reports from Google Play console

Screen Shot 2022-06-28 at 15 01 19

Expected Behavior

not crash anymore

Actual Incorrect Behavior

this crash is reported by Google console

Verbose Logs

java.util.ConcurrentModificationException: 
  at java.util.ArrayList$Itr.next (ArrayList.java:860)
  at com.appboy.Appboy.applyPendingRuntimeConfiguration (SourceFile:3)
  at com.appboy.Appboy.lambda$new$0 (SourceFile:1)
  at com.appboy.Appboy.$r8$lambda$tmujTATmOa-S3_32xNwyFuMla7k (SourceFile)
  at com.appboy.Appboy$$InternalSyntheticLambda$0$934363d0506ef93c8bc054868a7f16e61f0e21230918aa43733dfea8c40e7257$0.run (Appboy.java:4)
  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:929)

Additional Information

No response

radixdev commented 2 years ago

Hi @thinhlamzalora ,

We're tracking this issue internally and aim to have a fix available in the next release. Thank you for filing this issue.

thinhlamzalora commented 2 years ago

hi @radixdev

Yeah please fix it soon because it affected to a lot of user that using our app

Screen Shot 2022-06-28 at 16 11 34
trietbui-zalora commented 2 years ago

I would like to add more info:

And one strange thing, I don't see the crash report on Crashlytics, but on Google Play only 🤔

trietbui-zalora commented 2 years ago

Hi @radixdev Do you know if the fix will be available soon? 🥲

radixdev commented 2 years ago

HI @thinhlamzalora @trietbui-zalora ,

We're aiming for a release next week with this fix included 👍🏽.

Julian

thinhlamzalora commented 2 years ago

Thank you very much. @radixdev

bryanlogan commented 2 years ago

Hi @thinhlamzalora,

We fixed this issue in 22.0.0. Please let us know if this fixes your issue.

thinhlamzalora commented 2 years ago

Hi @bryanlogan Thank you very much, we will check and update you later