Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[bug] Android IDE crashed out of nowhere #1132

@Rafael2616

Description

@Rafael2616

What happened?

I saw that this error has apparently already been fixed, but it occurred to me 3 times in the 2.5.1-beta version If this serves as context: 2 times when closing the project and 1 time when opening the app, The start of the stacktrace is different than what was reported by someone else, but the cause seems to be the same.

What's the expected behavior?

Dont crash

What version of AndroidIDE you're using?

v2.5.0 (debug builds)

Relevant log output

AndroidIDE crash report Manufacturer: LGE Device: LM-X420 ABI: armeabi-v7a SDK version: 28 App version: v2.5.1-beta (251) Stacktrace: java.util.ConcurrentModificationException	at java.util.ArrayList$Itr.next(ArrayList.java:860)	at com.itsaky.androidide.services.log.MultiLogSenderHandler.close(Unknown Source:23)	at com.itsaky.androidide.services.log.LogReceiverImpl.close(Unknown Source:2)	at com.itsaky.androidide.services.log.LogReceiverService.onDestroy(Unknown Source:5)	at android.app.ActivityThread.handleStopService(ActivityThread.java:3862) Caused by: java.lang.RuntimeException: Unable to stop service com.itsaky.androidide.services.log.LogReceiverService@40ccdd6: java.util.ConcurrentModificationException	at android.app.ActivityThread.handleStopService(ActivityThread.java:3882)	at android.app.ActivityThread.access$1700(ActivityThread.java:208)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1733)	at android.os.Handler.dispatchMessage(Handler.java:106)	at android.os.Looper.loop(Looper.java:205)	at android.app.ActivityThread.main(ActivityThread.java:6993)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions