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

[Bug]: java.lang.IndexOutOfBoundsException: Index: 2, Size: 1 #1126

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

[Bug]: java.lang.IndexOutOfBoundsException: Index: 2, Size: 1 #1126

FaultyxDx opened this issue Jul 18, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@FaultyxDx
Copy link

FaultyxDx commented Jul 18, 2023

What happened?

I just saved the java file to exit from IDE as auto code completion for java isn't working. When i clicked on exit button and clicked yes of exit dialog that's when this happened

What's the expected behavior?

idk , maybe it should closed my project. And also there is some bugs in auto code completion

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: 2, 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@65f2b2d: java.lang.IndexOutOfBoundsException: Index: 2, 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 18, 2023
@itsaky
Copy link
Member

itsaky commented Jul 18, 2023

Dude, why would you create a duplicate of your own issue #1110?

The issue has been fixed. Update to v2.5.1-beta.

@itsaky itsaky closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2023
@itsaky itsaky added the duplicate This issue or pull request already exists label Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants