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]: java.lang.IndexOutOfBoundsException #1110

Closed
2 tasks done
FaultyxDx opened this issue Jul 16, 2023 · 1 comment
Closed
2 tasks done

[Bug]: java.lang.IndexOutOfBoundsException #1110

FaultyxDx opened this issue Jul 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@FaultyxDx
Copy link

What happened?

AndroidIDE crash report
Manufacturer: OPPO
Device: CPH2095
ABI: arm64-v8a
SDK version: 31
App version: v2.5.0-beta (250)

Stacktrace:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.get(ArrayList.java:437)
at com.itsaky.androidide.services.log.MultiLogSenderHandler.close(Unknown Source:20)
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:4837)
Caused by: java.lang.RuntimeException: Unable to stop service com.itsaky.androidide.services.log.LogReceiverService@2252a87: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at android.app.ActivityThread.handleStopService(ActivityThread.java:4857)
at android.app.ActivityThread.access$2200(ActivityThread.java:254)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2227)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8212)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

What's the expected behavior?

idk

What version of AndroidIDE you're using?

v2.5.0 (debug builds)

Relevant log output

AndroidIDE crash report
Manufacturer: OPPO
Device: CPH2095
ABI: arm64-v8a
SDK version: 31
App version: v2.5.0-beta (250)

 Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.get(ArrayList.java:437)
	at com.itsaky.androidide.services.log.MultiLogSenderHandler.close(Unknown Source:20)
	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:4837)
 Caused by: java.lang.RuntimeException: Unable to stop service com.itsaky.androidide.services.log.LogReceiverService@2252a87: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at android.app.ActivityThread.handleStopService(ActivityThread.java:4857)
	at android.app.ActivityThread.access$2200(ActivityThread.java:254)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2227)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:233)
	at android.os.Looper.loop(Looper.java:344)
	at android.app.ActivityThread.main(ActivityThread.java:8212)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@FaultyxDx FaultyxDx added the bug Something isn't working label Jul 16, 2023
@itsaky
Copy link
Member

itsaky commented Jul 17, 2023

Should have been fixed in 440358a. Reopen this issue if it isn't.

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