LTECleanerFOSS icon indicating copy to clipboard operation
LTECleanerFOSS copied to clipboard

Crash ConcurrentModificationException

Open shuvashish76 opened this issue 4 years ago • 6 comments

Describe the bug Can't recall why crashed so I can't reproduce the same behaviour...

Crash logs

FATAL EXCEPTION: Thread-2
Process: theredspy15.ltecleanerfoss, PID: 14153
java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.next(ArrayList.java:860)
	at u2.c.g(:3)
	at theredspy15.ltecleanerfoss.controllers.MainActivity.z(:14)
	at v2.b.run(:17)
	at java.lang.Thread.run(Thread.java:764)

Smartphone (please complete the following information):

  • Device: Lenovo Tab4 8 plus
  • OS: Android 8.1.0
  • App Version: 4.9.5 (58)
  • Downloaded from: F-Droid

shuvashish76 avatar Nov 23 '21 01:11 shuvashish76

How often does it occur? I've seen this sort of crash since the app was first published. But it seems to happen almost randomly. It's just the threads in java getting all screwed up

I am planning on converting the project to kotlin instead of java here soon, which should reduce of often this happens, since kotlin does threading a bit differently

NomadicDeveloper22 avatar Nov 23 '21 03:11 NomadicDeveloper22

Not sure. My Scoop app not active most of the time. I think I got this crash 1st time.

shuvashish76 avatar Nov 28 '21 07:11 shuvashish76

fixed 8d92ef7490ff92e1708323c61e998767c0bae295

NomadicDeveloper22 avatar Dec 01 '21 23:12 NomadicDeveloper22

Seems the bug is still there. Crashed while downloading an app from Aurora Store & LTECleaner "Clean" function running at the sametime. Not sure if it's related to the crash.

FATAL EXCEPTION: Thread-2
Process: theredspy15.ltecleanerfoss, PID: 11644
java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.next(ArrayList.java:860)
	at f3.b.e(:5)
	at theredspy15.ltecleanerfoss.controllers.MainActivity.z(:14)
	at g3.b.run(:15)
	at java.lang.Thread.run(Thread.java:764)
  • App Version : 4.9.7 (60) [F-Droid]

shuvashish76 avatar Dec 25 '21 14:12 shuvashish76

@TheRedSpy15 reopen this issue please.

shuvashish76 avatar Jan 30 '22 23:01 shuvashish76

Please keep this issue open, it crashed multiple times. Random crashes.

shuvashish76 avatar Jun 26 '22 01:06 shuvashish76