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 IDE crashed out of nowhere #1132

Closed
2 tasks done
Rafael2616 opened this issue Jul 20, 2023 · 6 comments
Closed
2 tasks done

[bug] Android IDE crashed out of nowhere #1132

Rafael2616 opened this issue Jul 20, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@Rafael2616
Copy link
Contributor

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
@itsaky
Copy link
Member

itsaky commented Jul 20, 2023

Check if this is fixed in the latest build.

@Rafael2616
Copy link
Contributor Author

I opened it and did several things and closed it several times and it didn't crash anymore

@itsaky
Copy link
Member

itsaky commented Jul 20, 2023

Feel free to reopen this issue if you encounter this specific crash again.

@itsaky itsaky closed this as completed Jul 20, 2023
@Rafael2616
Copy link
Contributor Author

Rafael2616 commented Jul 22, 2023

It seems that this bug is still happening, but with a lesser frequency, it doesn't prevent the use of the app, it only shows an error message when closing the project or when exiting the app (sometimes)

@itsaky
Copy link
Member

itsaky commented Jul 23, 2023

It seems that this bug is still happening, kasc with a lesser frequency, it doesn't prevent the use of the app, it only shows an error message when closing the project or when exiting the app (sometimes)

What error message?

@Rafael2616
Copy link
Contributor Author

Rafael2616 commented Jul 23, 2023

Exactly the same, sometimes with some variation, but always 'MultiLogSenderHandler.close()' and 'ConcurrentModificationException'

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

No branches or pull requests

2 participants