-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
I found a bug where the app crashes completely when trying to open the movie "Hawkwind - Space Ritual".
https://www.themoviedb.org/movie/203349-hawkwind-space-ritual
Based on the ADB logs, it's throwing a java.lang.IllegalArgumentException in Jetpack Compose because a LazyColumn or LazyRow is being fed a duplicate key (40877). This is likely caused by duplicate items in the metadata being pulled for this specific movie (e.g., duplicate cast members, crew, or related items sharing the same ID).
02-21 14:34:20.627 13168 13168 E AndroidRuntime: FATAL EXCEPTION: main 02-21 14:34:20.627 13168 13168 E AndroidRuntime: Process: com.arvio.tv, PID: 13168 02-21 14:34:20.627 13168 13168 E AndroidRuntime: java.lang.IllegalArgumentException: Key "40877" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item. 02-21 14:34:20.627 13168 13168 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SourceFile:22) 02-21 14:34:20.627 13168 13168 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$Scope.subcompose(SourceFile:3) 02-21 14:34:20.627 13168 13168 E AndroidRuntime: at androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScopeImpl.measure-0kLqBqw(SourceFile:36) 02-21 14:34:20.627 13168 13168 E AndroidRuntime: at androidx.tv.foundation.lazy.list.a0.a(SourceFile:19) ...