Kvaesitso icon indicating copy to clipboard operation
Kvaesitso copied to clipboard

IndexOutOfBoundsException in androidx.navigation.compose.NavHostKt

Open bannus opened this issue 8 months ago • 1 comments

Description

Sorry, not sure what I was doing that made this happen. Passing along the stack in case it's helpful

Strack trace

java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 1
	at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
	at java.util.Objects.checkIndex(Objects.java:359)
	at java.util.ArrayList.get(ArrayList.java:434)
	at androidx.navigation.compose.NavHostKt$NavHost$20$1.invokeSuspend(NavHost.kt:45)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111)
	at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:24)
	at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run(AndroidUiDispatcher.android.kt:3)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
[6 lines truncated]

Device info

APP.VERSION : 1.30.4
APP.VERSIONCODE : 2024051000
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : de.mm20.launcher2.release
TIMEZONE : America/New_York
VERSION.RELEASE : 14
VERSION.INCREMENTAL : S901U1UES5EXE3
VERSION.SDK.NUMBER : 34
BOARD : taro
BOOTLOADER : S901U1UES5EXE3
BRAND : samsung
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : UP1A.231005.007.S901U1UES5EXE3
FINGERPRINT : samsung/r0quew/r0q:14/UP1A.231005.007/S901U1UES5EXE3:user/release-keys
HARDWARE : qcom
HOST : SWDK6607
ID : UP1A.231005.007
MANUFACTURER : samsung
MODEL : SM-S901U1
PRODUCT : r0quew
TAGS : release-keys
TIME : 1716878782000
TYPE : user

bannus avatar Jun 20 '24 22:06 bannus